def reset_answer(): """Resets the data""" data = request.form if data["answer"] == "YES": storage.reset() return "Database restarted", 200 return "Database untouched", 200
def setUp(self): """Set up tests.""" storage.reset()
def setUpClass(cls): """setup for the test""" cls.consol = HBNBCommand() storage.reset()