def test_IsAdding(self): biz = self.biz self.assertEqual(biz.IsAdding, False) biz.new() self.assertEqual(biz.IsAdding, True) biz.first() self.assertEqual(biz.IsAdding, False)
def test_RowNumber(self): biz = self.biz self.assertEqual(biz.RowNumber, 0) biz.next() self.assertEqual(biz.RowNumber, 1) biz.RowNumber = 2 self.assertEqual(biz.RowNumber, 2) biz.first() self.assertEqual(biz.RowNumber, 0)
def test_RowNumber(self): biz = self.biz self.assertEqual(biz.RowNumber, 0) biz.next() self.assertEqual(biz.RowNumber, 1) biz.RowNumber = 2 self.assertEqual(biz.RowNumber, 2) biz.first() self.assertEqual(biz.RowNumber, 0) biz.deleteAll() self.assertEqual(biz.RowNumber, -1)
def test_RowNumber(self): biz = self.biz self.assertEqual(biz.RowNumber, 0) next(biz) self.assertEqual(biz.RowNumber, 1) biz.RowNumber = 2 self.assertEqual(biz.RowNumber, 2) biz.first() self.assertEqual(biz.RowNumber, 0) biz.deleteAll() self.assertEqual(biz.RowNumber, -1)