MCPcopy Create free account
hub / github.com/danfengcao/binlog2sql / test_compare_items

Method test_compare_items

tests/test_binlog2sql_util.py:49–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 self.assertEqual(str(e), "Incorrect datetime argument")
48
49 def test_compare_items(self):
50 self.assertEqual(compare_items(('data', '12345')), '`data`=%s')
51 self.assertEqual(compare_items(('data', None)), '`data` IS %s')
52
53 def test_fix_object(self):
54 self.assertEqual(fix_object('ascii'), 'ascii')

Callers

nothing calls this directly

Calls 1

compare_itemsFunction · 0.85

Tested by

no test coverage detected