def setUp(self): HANDLED_FILES.clean() self.command = DbbackupCommand() self.command.servername = 'foo-server' self.command.storage = get_storage() self.command.stdout = DEV_NULL self.command.compress = False self.command.encrypt = False self.command.path = None self.command.media_storage = get_storage_class()()
def setUp(self): HANDLED_FILES.clean() self.command = DbbackupCommand() self.command.stdout = DEV_NULL self.command.encrypt = False self.command.compress = False self.command.servername = 'foo-server' self.command.storage = FakeStorage() HANDLED_FILES['written_files'] = [(f, None) for f in [ '2015-02-06-042810.bak', '2015-02-07-042810.bak', '2015-02-08-042810.bak', ]]
def setUp(self): HANDLED_FILES.clean() self.command = DbbackupCommand() self.command.servername = 'foo-server' self.command.storage = FakeStorage() self.command.stdout = DEV_NULL
def setUp(self): self.skipTest("Doesn't work!") self.command = DbbackupCommand() self.command.servername = 'foo-server' self.command.storage = FakeStorage()
def setUp(self): self.command = DbbackupCommand() self.command.servername = 'foo-server' self.command.storage = FakeStorage()
def setUp(self): self.command = DbbackupCommand()