Updates cli unit tests to match the bug fixes

This commit is contained in:
Sergi Delgado Segura
2020-01-16 17:09:13 +01:00
parent 90e1245a84
commit db330ce353

View File

@@ -53,7 +53,7 @@ dummy_appointment_request = {
# This is the format appointment turns into once it hits "add_appointment" # This is the format appointment turns into once it hits "add_appointment"
dummy_appointment_full = { dummy_appointment_full = {
"locator": get_random_value_hex(32), "locator": get_random_value_hex(16),
"start_time": 1500, "start_time": 1500,
"end_time": 50000, "end_time": 50000,
"to_self_delay": 200, "to_self_delay": 200,
@@ -244,7 +244,7 @@ def test_get_appointment():
assert len(responses.calls) == 1 assert len(responses.calls) == 1
assert responses.calls[0].request.url == request_url assert responses.calls[0].request.url == request_url
assert result assert result.get("locator") == response.get("locator")
@responses.activate @responses.activate