Added not None assert to updateconsumertest
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
Scharnitzky Donát 2020-03-31 11:46:19 +02:00
parent 4d1a0e1d57
commit d47d2e8d97

View File

@ -199,6 +199,7 @@ def test_updateconsumer(httpserver):
uuid=generateduuid, communicator=comm) uuid=generateduuid, communicator=comm)
locator.learnconsumerlist(); locator.learnconsumerlist();
ret = locator.updateconsumer() ret = locator.updateconsumer()
assert locator.currentconsumer is not None
assert ret == f"127.0.0.1:{port}" assert ret == f"127.0.0.1:{port}"