コード例 #1
0
 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()()
コード例 #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',
     ]]
コード例 #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
コード例 #4
0
 def setUp(self):
     self.skipTest("Doesn't work!")
     self.command = DbbackupCommand()
     self.command.servername = 'foo-server'
     self.command.storage = FakeStorage()
コード例 #5
0
 def setUp(self):
     self.command = DbbackupCommand()
     self.command.servername = 'foo-server'
     self.command.storage = FakeStorage()
コード例 #6
0
 def setUp(self):
     self.command = DbbackupCommand()