From db330ce353a0d466f15e3e5849020c43803f02fc Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Thu, 16 Jan 2020 17:09:13 +0100 Subject: [PATCH] Updates cli unit tests to match the bug fixes --- test/apps/cli/unit/test_pisa_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/apps/cli/unit/test_pisa_cli.py b/test/apps/cli/unit/test_pisa_cli.py index 74c6a95..b6b0219 100644 --- a/test/apps/cli/unit/test_pisa_cli.py +++ b/test/apps/cli/unit/test_pisa_cli.py @@ -53,7 +53,7 @@ dummy_appointment_request = { # This is the format appointment turns into once it hits "add_appointment" dummy_appointment_full = { - "locator": get_random_value_hex(32), + "locator": get_random_value_hex(16), "start_time": 1500, "end_time": 50000, "to_self_delay": 200, @@ -244,7 +244,7 @@ def test_get_appointment(): assert len(responses.calls) == 1 assert responses.calls[0].request.url == request_url - assert result + assert result.get("locator") == response.get("locator") @responses.activate