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

Method verify_backup

Lib/test/test_sqlite3/test_backup.py:17–20  ·  view source on GitHub ↗
(self, bckcx)

Source from the content-addressed store, hash-verified

15 self.cx.close()
16
17 def verify_backup(self, bckcx):
18 result = bckcx.execute("SELECT key FROM foo ORDER BY key").fetchall()
19 self.assertEqual(result[0][0], 3)
20 self.assertEqual(result[1][0], 4)
21
22 def test_bad_target(self):
23 with self.assertRaises(TypeError):

Callers 6

test_simpleMethod · 0.95
test_progressMethod · 0.95

Calls 2

executeMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected