def setUp(self): self.storage = BackupStorage() # Only want the logs to show if the tests fail logging.getLogger("db_backup").handlers = []