#NEWLINE# def test_scheduler_info( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/scheduler' ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# info = json . loads ( response . get_data ( as_text = True ) ) #NEWLINE# self . assertIsNotNone ( info [ 'current_host' ] ) #NEWLINE# self . assertEqual ( info [ 'allowed_hosts' ] , [ '*' ] ) #NEWLINE# self . assertTrue ( info [ 'running' ] )