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()()
Exemplo n.º 2
0
 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',
     ]]
Exemplo n.º 3
0
 def setUp(self):
     HANDLED_FILES.clean()
     self.command = DbbackupCommand()
     self.command.servername = 'foo-server'
     self.command.storage = FakeStorage()
     self.command.stdout = DEV_NULL
Exemplo n.º 4
0
 def setUp(self):
     self.skipTest("Doesn't work!")
     self.command = DbbackupCommand()
     self.command.servername = 'foo-server'
     self.command.storage = FakeStorage()
Exemplo n.º 5
0
 def setUp(self):
     self.command = DbbackupCommand()
     self.command.servername = 'foo-server'
     self.command.storage = FakeStorage()
Exemplo n.º 6
0
 def setUp(self):
     self.command = DbbackupCommand()