Skip to content

Commit cdb9f88

Browse files
authored
Testing: use languages when creating store from draft (#92)
* formatting * add language to create from draft Co-authored-by: Bram Kaashoek <b.kaashoek@labdigital.nl>
1 parent 7e49c90 commit cdb9f88

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
8.1.4 (2020-06-11)
2+
------------------
3+
- Testing: use languages when creating store from draft
4+
15
8.1.3 (2020-06-10)
26
------------------
37
- Testing: add setLanguages to store testing backend

src/commercetools/testing/stores.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def _create_from_draft(
2323
key=draft.key,
2424
name=draft.name,
2525
created_at=datetime.datetime.now(datetime.timezone.utc),
26+
languages=draft.languages,
2627
)
2728

2829

0 commit comments

Comments
 (0)