remove bad debug message
This commit is contained in:
parent
279c4cd9a2
commit
eddcac1f19
1 changed files with 0 additions and 5 deletions
|
@ -79,7 +79,6 @@ class TestManager(unittest.TestCase):
|
|||
config.add_section('command:test')
|
||||
config.set('command:test', 'path', workdir)
|
||||
config.set('command:test', 'command', self.program)
|
||||
print("-"*10, 'A1')
|
||||
try:
|
||||
client = Client.Client(None, None, None)
|
||||
client._load_config(config)
|
||||
|
@ -87,8 +86,6 @@ class TestManager(unittest.TestCase):
|
|||
except:
|
||||
self.fail('Error detected on load config')
|
||||
|
||||
print("-"*10, 'A2')
|
||||
|
||||
manage = Manager.Manager(False)
|
||||
manage._load_config(config)
|
||||
manage.initialize_http()
|
||||
|
@ -105,13 +102,11 @@ class TestManager(unittest.TestCase):
|
|||
msgjson = client.send_json({'name': 'command:test', 'action': 'test'}, 'POST', "/STDIN", show_result=False)
|
||||
print(msgjson)
|
||||
assert msgjson == {'state' : 'ok'}
|
||||
print("-"*80)
|
||||
msgjson = client.send_json({'name': 'command:test'}, 'POST', "/STOP", show_result=False)
|
||||
assert msgjson == {'state' : 'stopped'}
|
||||
msgjson = client.send_json({'name': 'command:test'}, 'GET', "/STATUS", show_result=False)
|
||||
assert msgjson == {'state' : 'stopped'}
|
||||
|
||||
print("-"*10, 'A3')
|
||||
manage.receive_signal(15, 1)
|
||||
manage.wait_children_commands()
|
||||
#Disable timeout
|
||||
|
|
Loading…
Reference in a new issue