From d47d2e8d9757e442036acfa1344dca78809f491f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scharnitzky=20Don=C3=A1t?= Date: Tue, 31 Mar 2020 11:46:19 +0200 Subject: [PATCH] Added not None assert to updateconsumertest --- test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test.py b/test.py index 6fadebd..f475ed0 100644 --- a/test.py +++ b/test.py @@ -199,6 +199,7 @@ def test_updateconsumer(httpserver): uuid=generateduuid, communicator=comm) locator.learnconsumerlist(); ret = locator.updateconsumer() + assert locator.currentconsumer is not None assert ret == f"127.0.0.1:{port}"