summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Oliveira <charles.oliveira@linaro.org>2021-01-22 15:22:42 -0300
committerCharles Oliveira <charles.oliveira@linaro.org>2021-01-22 15:34:39 -0300
commit6512c3308a67c9c9a03f7ce4fd16865f8a5375e3 (patch)
treed64fd84f884216fb6b0ddffae08e1997d9c4d3d4
parenta37cd79e197cbffc4f51c841a9a54fdda4739f98 (diff)
tests: test_shortcuts: remove test against project_settings
The field is no long available
-rw-r--r--squad_client/core/models.py2
-rw-r--r--tests/test_shortcuts.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/squad_client/core/models.py b/squad_client/core/models.py
index ce7f3c2..862de1a 100644
--- a/squad_client/core/models.py
+++ b/squad_client/core/models.py
@@ -311,7 +311,7 @@ class Project(SquadObject):
attrs = ['id', 'custom_email_template', 'data_retention_days', 'description',
'enabled_plugins_list', 'full_name', 'group', 'html_mail', 'important_metadata_keys',
'is_archived', 'is_public', 'moderate_notifications', 'name', 'notification_timeout',
- 'project_settings', 'slug', 'url', 'wait_before_notification']
+ 'slug', 'url', 'wait_before_notification']
def builds(self, count=DEFAULT_COUNT, **filters):
filters.update({'project': self.id})
diff --git a/tests/test_shortcuts.py b/tests/test_shortcuts.py
index a4ea86b..93f8da8 100644
--- a/tests/test_shortcuts.py
+++ b/tests/test_shortcuts.py
@@ -88,7 +88,6 @@ class CreateOrUpdateShortcutTest(TestCase):
self.assertEqual(project1.id, project2.id)
self.assertEqual(project1.name, project2.name)
self.assertEqual(project1.description, project2.description)
- self.assertEqual(project1.project_settings, project2.project_settings)
self.assertEqual(project1.is_public, project2.is_public)
self.assertEqual(project1.html_mail, project2.html_mail)
self.assertEqual(project1.moderate_notifications, project2.moderate_notifications)
@@ -222,7 +221,6 @@ class CreateOrUpdateShortcutTest(TestCase):
check_project = first(self.squad.projects(group__slug=self.group_slug, slug=project_slug))
self.assertEqualProjects(check_project, project_edited)
self.assertEqual(description, project_edited.description)
- self.assertEqual(settings, project_edited.project_settings)
self.assertEqual(is_public, project_edited.is_public)
self.assertEqual(html_mail, project_edited.html_mail)
self.assertEqual(moderate_notifications, project_edited.moderate_notifications)