Skip to content

Commit

Permalink
updates process tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Nov 27, 2023
1 parent 0cb5a00 commit d1beab4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ def setup_method(self):
self.patch_get_config = patch.object(
utils,
"_get_config",
return_value=[
{"destination": "destination"},
{"datasets": [{"a": {"b": "c"}}, {"d": {"e": "f"}}, {"g": {"h": "i"}}]},
],
return_value={
"destination": "destination",
"datasets": [{"a": {"b": "c"}}, {"d": {"e": "f"}}, {"g": {"h": "i"}}],
},
).start()
self.patch_create_temp_location = patch.object(
load, "create_temp_location", return_value=None
Expand All @@ -203,7 +203,7 @@ def test_process_all_files_config_path(self, syn: Any):

def test_process_all_files_no_config_path(self, syn: Any):
process.process_all_files(syn=syn, config_path=None)
self.patch_get_config.assert_called_once_with()
self.patch_get_config.assert_called_once_with(config_path=None)

def test_process_all_files_process_dataset_fails(self, syn: Any):
with pytest.raises(ADTDataProcessingError):
Expand Down

0 comments on commit d1beab4

Please sign in to comment.