We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae4fc1 commit 48af37eCopy full SHA for 48af37e
tests/unit/analysis/test_handle_config.py
@@ -91,7 +91,10 @@ def test_read_config_vars_throws(self):
91
92
93
def test_get_script_name(self):
94
- with patch("mvesuvio.util.handle_config.os.path.basename") as mock_basename:
+ with (
95
+ patch("mvesuvio.util.handle_config.os.path.basename") as mock_basename,
96
+ patch("mvesuvio.util.handle_config.read_config_var") as mock_read_config_var
97
+ ):
98
mock_basename.return_value = "inputs.py"
99
self.assertEqual(handle_config.get_script_name(), "inputs")
100
0 commit comments