Skip to content

Commit

Permalink
yFix archivematicaMCPClient test
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill authored and Dhwaniartefact committed Sep 20, 2023
1 parent a71ed3c commit 0b5d161
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/MCPClient/tests/test_archivematicaClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ def test_handle_batch_task_replaces_non_ascii_arguments(mocker):
},
)

# This is the only function that uses the arguments after the replacements
_parse_command_line = mocker.patch("archivematicaClient._parse_command_line")

# The mocked module will not have a `concurrent_instances` attribute
mocker.patch(
"importlib.import_module", return_value=mocker.MagicMock(spec=["call"])
)

# This is the only function that uses the arguments after the replacements
_parse_command_line = mocker.patch("archivematicaClient._parse_command_line")

# Mock the two parameters sent to handle_batch_task
gearman_job_mock = mocker.Mock(task=b"task name")
supported_modules_mock = mocker.Mock(**{"get.side_effect": "some_module_name"})
Expand Down
6 changes: 0 additions & 6 deletions src/dashboard/src/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,6 @@ def _get_settings_from_file(path):

SITE_ID = 1

# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.

# If you set this to False, Django will not format dates, numbers and
# calendars according to the current locale

# Enable timezone support, for more info see:
# https://docs.djangoproject.com/en/dev/topics/i18n/timezones/
USE_TZ = True
Expand Down

0 comments on commit 0b5d161

Please sign in to comment.