MCPcopy Create free account
hub / github.com/bpython/bpython / test_create_config

Method test_create_config

bpython/test/test_repl.py:360–365  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

358 self.repl.config.editor = "true"
359
360 def test_create_config(self):
361 with tempfile.TemporaryDirectory() as tmp_dir:
362 config_path = Path(tmp_dir) / "newdir" / "config"
363 self.repl.config.config_path = config_path
364 self.repl.edit_config()
365 self.assertTrue(config_path.exists())
366
367
368class TestRepl(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

edit_configMethod · 0.80

Tested by

no test coverage detected