Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Jones <[email protected]>
  • Loading branch information
nickrayjones committed Dec 15, 2023
1 parent bf8623d commit 64f9516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def test_scan_with_all_files_flag(self, mock_baseline_initialize):

def test_scan_with_diff_branch(self, mock_baseline_initialize):
with mock_stdin():
assert main('scan --diff-branch staging'.split()) == 0
assert main('scan --diff-branch some_branch_here'.split()) == 0

mock_baseline_initialize.assert_called_once_with(
plugins=Any(tuple),
Expand All @@ -238,7 +238,7 @@ def test_scan_with_diff_branch(self, mock_baseline_initialize):
word_list_file=None,
word_list_hash=None,
suppress_unscannable_file_warnings=False,
diff_branch='staging',
diff_branch='some_branch_here',
)

def test_reads_from_stdin(self, mock_merge_baseline):
Expand Down

0 comments on commit 64f9516

Please sign in to comment.