From fda6541af232cb8d9dc7ba3179ef5d74d7c3a8ec Mon Sep 17 00:00:00 2001 From: Christian Adell Date: Mon, 20 Mar 2023 18:52:34 +0100 Subject: [PATCH] Fix assert --- tests/unit/test_e2e.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_e2e.py b/tests/unit/test_e2e.py index b3ed99ee..ab8eb39e 100644 --- a/tests/unit/test_e2e.py +++ b/tests/unit/test_e2e.py @@ -868,7 +868,7 @@ def test_provider_get_maintenances( for _ in range(len(expected_result)): expected_result[0].update(partial_result_data) else: - assert len(expected_result) == len(expected_result) + assert len(expected_result) == len(partial_result_data) for i, _ in enumerate(partial_result_data): expected_result[i].update(partial_result_data[i])