def test040_delete(self): command = Command(10000, 'brexbottest', 'test', 'test command', 1, 'It is a test command', 1, 1, 1, 1, 1, 1).load() self.assertIsNotNone(command) command.delete() exist_check = command.exists() self.assertEqual(exist_check, None)
def test020_exists(self): command = Command(10000, 'brexbottest', 'test', 'test command', 1, 'It is a test command', 1, 1, 1, 1, 1, 1).load() exist_check = command.exists() self.assertEqual(exist_check, True)