Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
jhall1-godaddy committed Jul 21, 2022
1 parent bbfe021 commit 9265877
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_update_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ def test_with_no_signatures_in_config(
)

@mock.patch("tartufo.commands.update_signatures.load_config_from_path")
def test_with_no_config(
self, mock_load_config: mock.MagicMock
) -> None:
def test_with_no_config(self, mock_load_config: mock.MagicMock) -> None:
mock_load_config.side_effect = FileNotFoundError()

runner = CliRunner()
Expand Down Expand Up @@ -299,7 +297,9 @@ def test_replace_deprecated_with_list_of_strings(self) -> None:
config_data = {"exclude_signatures": ["123", "456"]}
expected_result = {"exclude_signatures": ["abc", "def"]}

count = update_signatures.replace_deprecated_signatures(deprecations, config_data)
count = update_signatures.replace_deprecated_signatures(
deprecations, config_data
)

self.assertEqual(count, 2)
self.assertEqual(config_data, expected_result)
Expand Down

0 comments on commit 9265877

Please sign in to comment.