<s> """<STR_LIT>""" <EOL> from frontera import FrontierManager , Settings , FrontierTester , graphs <EOL> def test_logic ( backend ) : <EOL> graph = graphs . Manager ( '<STR_LIT>' ) <EOL> settings = Settings ( ) <EOL> settings . BACKEND = backend <EOL> settings . LOGGING_MANAGER_ENABLED = True <EOL> settings . LOGGING_BACKEND_ENABLED = True <EOL> settings . LOGGING_DEBUGGING_ENABLED = False <EOL> settings . TEST_MODE = True <EOL> frontier = FrontierManager . from_settings ( settings ) <EOL> tester = FrontierTester ( frontier , graph ) <EOL> tester . run ( add_all_pages = True ) <EOL> print '<STR_LIT:->' * <NUM_LIT> <EOL> print frontier . backend . name <EOL> print '<STR_LIT:->' * <NUM_LIT> <EOL> for page in tester . sequence : <EOL> print page . url <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> test_logic ( '<STR_LIT>' ) <EOL> test_logic ( '<STR_LIT>' ) <EOL> test_logic ( '<STR_LIT>' ) <EOL> test_logic ( '<STR_LIT>' ) <EOL> test_logic ( '<STR_LIT>' ) </s>
