#NEWLINE# def test_indicator_shows_not_logged_in( self , server_url , browser ) : #NEWLINE# #INDENT# page = IndexPage ( browser , base_url = server_url ) #NEWLINE# page . visit ( ) #NEWLINE# html = page . q ( css = 'html' ) . html [ 0 ] #NEWLINE# document = html5lib . parse ( html , namespaceHTMLElements = False ) #NEWLINE# urls = [ a . get ( 'href' ) for a in document . findall ( ".//nav[@id='user-indicator']/a" ) ] #NEWLINE# assert ( urls == [ '/account/login/' , '/account/register/' , 'TODO' ] )