Skip to content

Commit

Permalink
Fix invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
mvantellingen committed Jun 29, 2023
1 parent 3c37b82 commit 88f0d75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/platform/test_service_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def test_update_actions(
commercetools_api, ct_platform_client: PlatformClient, store_draft
):
store = ct_platform_client.with_project_key("foo").stores().post(store_draft)

assert store.languages is None
assert store is not None
assert store.languages == []

store = (
ct_platform_client.with_project_key("foo")
Expand All @@ -49,6 +49,7 @@ def test_update_actions(
)
)

assert store is not None
assert store.languages == ["en-US"]


Expand Down

0 comments on commit 88f0d75

Please sign in to comment.