Lines Matching refs:db2
958 db2 = Bdb()
959 db2.set_break(__file__, 2)
960 db2.set_break(__file__, 3)
961 db2.set_break(__file__, 4)
963 self.assertEqual(db2.get_all_breaks(), {fname: [1, 2, 3, 4]})
964 db2.clear_break(__file__, 1)
966 self.assertEqual(db2.get_all_breaks(), {fname: [2, 3, 4]})
970 self.assertEqual(db2.get_all_breaks(), {fname: [2, 3, 4]})
972 db2.clear_break(__file__, 2)
974 self.assertEqual(db2.get_all_breaks(), {fname: [3, 4]})
980 self.assertEqual(db2.get_all_breaks(), {fname: [3, 4]})
988 self.assertEqual(db2.get_all_breaks(), {fname: [3, 4]})