def testNoFileAndEnd(self): ''' User wants to end and no file has been created ''' self.assertEqual(cal.checkIfStart(False), False)
def testIsNotStart(self): createStartFile(False) self.assertFalse(cal.checkIfStart())
def testNoFileAndStart(self): ''' User wants to start and no file has been created ''' self.assertTrue(cal.checkIfStart(True))
def testIsStart(self): createStartFile(True) self.assertTrue(cal.checkIfStart())