From 4fe58359f43797bd3181ec1dfaac5124229a4334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Hermida?= Date: Tue, 25 Sep 2018 14:06:15 +0200 Subject: [PATCH] Refactor tests --- tests/integration/test_project_settings.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/integration/test_project_settings.py b/tests/integration/test_project_settings.py index a3bd6dbf..4dfb0378 100644 --- a/tests/integration/test_project_settings.py +++ b/tests/integration/test_project_settings.py @@ -57,11 +57,9 @@ def test_retrieve_homepage_setting_with_allowed_sections(client): assert response.status_code == 200 assert 1 == len(response.data) assert 1 == response.data[0].get("homepage") - assert 5 == len(response.data[0].get("allowed_sections")) + assert 3 == len(response.data[0].get("allowed_sections")) assert Section.timeline in response.data[0].get("allowed_sections") - assert Section.search in response.data[0].get("allowed_sections") - assert Section.team in response.data[0].get("allowed_sections") assert Section.backlog in response.data[0].get("allowed_sections") assert Section.wiki in response.data[0].get("allowed_sections")