Added not None assert to updateconsumertest
This commit is contained in:
parent
4d1a0e1d57
commit
d47d2e8d97
1
test.py
1
test.py
@ -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}"
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user