Merge "Fixed unit test to not actually run backup command"
This commit is contained in:
commit
025bad1cdf
@ -369,8 +369,8 @@ class BackupAgentTest(testtools.TestCase):
|
|||||||
'parent_checksum': 'md5',
|
'parent_checksum': 'md5',
|
||||||
}
|
}
|
||||||
when(mysql_impl.InnoBackupExIncremental).metadata().thenReturn(meta)
|
when(mysql_impl.InnoBackupExIncremental).metadata().thenReturn(meta)
|
||||||
when(mysql_impl.InnoBackupExIncremental).check_process().thenReturn(
|
when(mysql_impl.InnoBackupExIncremental).run().thenReturn(True)
|
||||||
True)
|
when(mysql_impl.InnoBackupExIncremental).__exit__().thenReturn(True)
|
||||||
|
|
||||||
agent = backupagent.BackupAgent()
|
agent = backupagent.BackupAgent()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user