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

Method test_interact_quit

Lib/test/test_sqlite3/test_cli.py:112–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110 self.assertEqual(out.count(self.PS2), 0)
111
112 def test_interact_quit(self):
113 out, err = self.run_cli(commands=(".quit",))
114 self.assertIn(self.MEMORY_DB_MSG, err)
115 self.assertEndsWith(out, self.PS1)
116 self.assertEqual(out.count(self.PS1), 1)
117 self.assertEqual(out.count(self.PS2), 0)
118
119 def test_interact_version(self):
120 out, err = self.run_cli(commands=(".version",))

Callers

nothing calls this directly

Calls 5

run_cliMethod · 0.95
assertInMethod · 0.80
assertEndsWithMethod · 0.80
assertEqualMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected