#NEWLINE# def test_string_rule_registration( test_app , test_pilot ) : #NEWLINE# #INDENT# 'Test that registering a rule with a single string path works.' #NEWLINE# test_pilot . init_app ( test_app ) #NEWLINE# @ test_app . route ( '/' , navbar_kwargs = { #NEWLINE# #INDENT# 'path' : 'Home' , #NEWLINE# #UNINDENT# } ) #NEWLINE# def index( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# assert ( len ( test_pilot . navbar_entries ) == 1 )