MCPcopy Index your code
hub / github.com/python/cpython / test_good_args

Method test_good_args

Lib/idlelib/idle_test/test_query.py:288–292  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286 self.assertIn('No closing', dialog.entry_error['text'])
287
288 def test_good_args(self):
289 args = ['-n', '10', '--verbose', '-p', '/path', '--name']
290 dialog = self.Dummy_CustomRun(' '.join(args) + ' "my name"')
291 self.assertEqual(dialog.cli_args_ok(), args + ["my name"])
292 self.assertEqual(dialog.entry_error['text'], '')
293
294
295class CustomRunEntryokTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

cli_args_okMethod · 0.95
joinMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected