Create unit tests #3
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