class TestDebugLog(TestCase): def __init__(self, count): TestCase.__init__(self) self.__count = count self.__data = [] self.__repository = DLogRepository() def setUp(self): logger.assert_true(isinstance(self.__repository, DLogRepository)) for d in DLogGenerator().generate(self.__count): self.__repository.set(d) self.__data.append(d)
def __init__(self, count): TestCase.__init__(self) self.__count = count self.__data = [] self.__repository = DLogRepository()