Skip to content

Commit 494a388

Browse files
zubeydecivelekzzacharo
authored andcommitted
fix(tests): add files.enabled to subcommunity request
1 parent 50acf71 commit 494a388

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/communities/test_subcommunities.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def test_subcommunity_simple_flow(app, curator, owner, parent_community):
199199
"created": res.json["created"],
200200
"updated": res.json["updated"],
201201
"expires_at": None,
202+
"files": {"enabled": True},
202203
"revision_id": 2,
203204
"is_closed": False,
204205
"is_expired": False,
@@ -257,6 +258,7 @@ def test_subcommunity_simple_flow(app, curator, owner, parent_community):
257258
"created": res.json["created"],
258259
"updated": res.json["updated"],
259260
"expires_at": None,
261+
"files": {"enabled": True},
260262
"type": "subcommunity",
261263
"status": "accepted",
262264
"title": 'Inclusion of subcommunity "Test community"',
@@ -321,6 +323,7 @@ def test_subcommunity_existing_child_flow(
321323
"created": res.json["created"],
322324
"updated": res.json["updated"],
323325
"expires_at": None,
326+
"files": {"enabled": True},
324327
"revision_id": 2,
325328
"is_closed": False,
326329
"is_expired": False,
@@ -369,6 +372,7 @@ def test_subcommunity_existing_child_flow(
369372
"created": res.json["created"],
370373
"updated": res.json["updated"],
371374
"expires_at": None,
375+
"files": {"enabled": True},
372376
"type": "subcommunity",
373377
"status": "accepted",
374378
"title": 'Inclusion of subcommunity "Child Community"',

0 commit comments

Comments
 (0)