remove extra listeners

removed service_listeners and using bumper_listen
This commit is contained in:
Brian Martin 2019-06-09 21:16:37 -04:00
parent 3f44b33a0a
commit d8b2d02ca4
2 changed files with 42 additions and 32 deletions

View file

@ -35,13 +35,13 @@ async def test_start_stop():
b = bumper
b.db = "tests/tmp.db" # Set db location for testing
b.conf1_listen_address = "0.0.0.0"
b.conf1_listen_port = 443
b.conf1_listen_address = "127.0.0.1"
b.conf1_listen_port = 444
asyncio.create_task(b.start())
await asyncio.sleep(0.1)
l.check_present(("bumper", "INFO", "Starting Bumper"))
l.clear()
assert b.shutting_down == False
asyncio.create_task(b.shutdown())
await asyncio.sleep(0.1)
l.check_present(