Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
sdc50 committed Nov 8, 2023
1 parent 4c5a5c1 commit 98b0ca3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

class TestCliAppSettingsCommand(unittest.TestCase):
def setUp(self):
setup_django_patcher = mock.patch("tethys_cli.app_settings_commands.setup_django")
setup_django_patcher = mock.patch(
"tethys_cli.app_settings_commands.setup_django"
)
setup_django_patcher.start()
self.addCleanup(setup_django_patcher.stop)

Expand Down
7 changes: 6 additions & 1 deletion tests/unit_tests/test_tethys_cli/test_site_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ def test_gen_site_content_with_yaml(
@mock.patch("tethys_cli.site_commands.Path")
@mock.patch("tethys_cli.site_commands.setup_django")
def test_gen_site_content_with_yaml_invalid_category(
self, mock_setup_django, mock_path, mock_update_settings, mock_load_yaml, mock_warn
self,
mock_setup_django,
mock_path,
mock_update_settings,
mock_load_yaml,
mock_warn,
):
mock_file_path = mock.MagicMock()
mock_path.return_value = mock_file_path
Expand Down
1 change: 1 addition & 0 deletions tethys_cli/cli_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def wrapped(*args, **kwargs):
result = func(*args, **kwargs)
sys.stdout = stdout
return result

return wrapped


Expand Down

0 comments on commit 98b0ca3

Please sign in to comment.