MCPcopy
hub / github.com/deadc0de6/dotdrop / test_options_debug

Method test_options_debug

tests/test_options.py:220–231  ·  view source on GitHub ↗

test debug

(self, mock_exists)

Source from the content-addressed store, hash-verified

218
219 @patch('os.path.exists')
220 def test_options_debug(self, mock_exists):
221 """test debug"""
222 mock_exists.return_value = False
223 args = {
224 '--verbose': True,
225 '--dry': False,
226 '--cfg': 'path',
227 '--profile': 'profile',
228 'gencfg': False,
229 }
230 with self.assertRaises(YamlException):
231 Options(args)
232
233
234def main():

Callers

nothing calls this directly

Calls 1

OptionsClass · 0.90

Tested by

no test coverage detected