diff --git a/trove/tests/unittests/backup/test_backupagent.py b/trove/tests/unittests/backup/test_backupagent.py index 2cbd8689ae..9d172f64f0 100644 --- a/trove/tests/unittests/backup/test_backupagent.py +++ b/trove/tests/unittests/backup/test_backupagent.py @@ -50,6 +50,9 @@ class MockBackup(BackupRunner): self.cmd = 'echo %s' % self.data super(MockBackup, self).__init__(*args, **kwargs) + def cmd(self): + return self.cmd + class MockCheckProcessBackup(MockBackup): """Backup runner that fails confirming the process."""