Skip to content

Commit 99945b9

Browse files
committed
Fix invalid test
1 parent a8ba7c5 commit 99945b9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/platform/test_service_stores.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def test_update_actions(
3232
commercetools_api, ct_platform_client: PlatformClient, store_draft
3333
):
3434
store = ct_platform_client.with_project_key("foo").stores().post(store_draft)
35-
36-
assert store.languages is None
35+
assert store is not None
36+
assert store.languages == []
3737

3838
store = (
3939
ct_platform_client.with_project_key("foo")
@@ -49,6 +49,7 @@ def test_update_actions(
4949
)
5050
)
5151

52+
assert store is not None
5253
assert store.languages == ["en-US"]
5354

5455

0 commit comments

Comments
 (0)