def testRowCount(self): print("Running") mql = Mysql() mql.populate() count = 0 #while True: count += 1 self.failIf(mql.rowcount() != 5) res = mql.call_test_proc() self.failIf(res[0][0] != 'test proc') print "Executed test {0} times".format(count) time.sleep(5) count += 1 self.failIf(mql.rowcount() != 5) res = mql.call_test_proc() self.failIf(res[0][0] != 'test proc') print "Executed test {0} times".format(count)
def testRowCount(self): mql = Mysql() mql.populate() self.failIf(mql.rowcount() != 5)