Skip to content

Commit

Permalink
Tests now reflect prepare knows dry_run
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Jul 16, 2021
1 parent 7f5bddf commit 8930877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/packaging/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ def runs_primary_workflow(self, push, publish, prepare):
all_(c)
# TODO: this doesn't actually prove order of operations. not seeing an
# unhairy way to do that, but not really that worried either...:P
prepare.assert_called_once_with(c)
prepare.assert_called_once_with(c, dry_run=False)
publish.assert_called_once_with(c, dry_run=False)
push.assert_called_once_with(c, dry_run=False)

Expand All @@ -1112,7 +1112,7 @@ def runs_primary_workflow(self, push, publish, prepare):
def passes_through_dry_run_flag(self, push, publish, prepare):
c = MockContext(run=True)
all_(c, dry_run=True)
prepare.assert_called_once_with(c)
prepare.assert_called_once_with(c, dry_run=True)
publish.assert_called_once_with(c, dry_run=True)
push.assert_called_once_with(c, dry_run=True)

Expand Down

0 comments on commit 8930877

Please sign in to comment.