def test_watcher(): modules, dump, idle, busy, state = \ get_result('http://unexisting') assert_equals(state[0], FAILURE[0])
def test_watcher(): modules, dump, idle, busy, state = \ get_result('http://unexisting') assert_equals(state[0], FAILURE[0])
def test_caller(): modules, dump, idle, busy, state = \ get_result('http://localhost:8080/manage_debug_threads?secret76') assert_equals(state, (0, 'OK - Everything looks fine'))
def test_caller(): modules, dump, idle, busy, state = \ get_result('http://localhost:8080/manage_debug_threads?secret76') assert_equals(state, (0, 'OK - Everything looks fine'))