Skip to content

Commit d3f1fc7

Browse files
committed
Additional comments
1 parent 5fa6e04 commit d3f1fc7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pgcommitfest/commitfest/tests/test_refresh_commitfests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def test_inprogress_cf_closes_when_enddate_passed(commitfests, alice):
3535
in_progress_cf.refresh_from_db()
3636
assert in_progress_cf.status == CommitFest.STATUS_CLOSED
3737

38+
# Patch should be auto-moved
3839
patch.refresh_from_db()
3940
assert patch.current_commitfest().id == open_cf.id
4041

@@ -83,6 +84,7 @@ def test_open_cf_closes_when_enddate_passed(commitfests, alice):
8384
).first()
8485
assert new_open is not None
8586

87+
# Patch should be auto-moved
8688
patch.refresh_from_db()
8789
assert patch.current_commitfest().id == new_open.id
8890

@@ -130,6 +132,7 @@ def test_draft_cf_closes_when_enddate_passed(commitfests, alice):
130132
assert new_draft is not None
131133
assert new_draft.startdate > draft_cf.enddate
132134

135+
# Patch should be auto-moved
133136
patch.refresh_from_db()
134137
assert patch.current_commitfest().id == new_draft.id
135138

0 commit comments

Comments
 (0)