Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,6 @@ def test_preferences_read(self):
resp = self.sg.preferences_read()

expected = {
"creative_review_settings": "",
"date_component_order": "month_day",
"duration_units": "days",
"format_currency_fields_decimal_options": "$1,000.99",
Expand All @@ -1027,6 +1026,12 @@ def test_preferences_read(self):
self.assertIn("view_master_settings", resp)
resp.pop("view_master_settings")

# Simply make sure creative review settings are there. These change frequently and we
# don't want to have the test break because Creative Review changed or because we didn't
# update the test.
self.assertIn("creative_review_settings", resp)
resp.pop("creative_review_settings")

self.assertEqual(expected, resp)

# all filtered
Expand Down
Loading