Merge "Fix an invalid assertIsNotNone statement"

This commit is contained in:
Zuul 2020-01-14 00:15:20 +00:00 committed by Gerrit Code Review
commit 395e9f5d62
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ class GuestAgentBackupTest(trove_testtools.TestCase):
backupBase.BackupRunner.encrypt_key = CRYPTO_KEY
RunnerClass = utils.import_class(BACKUP_DB2_CLS)
bkp = RunnerClass(12345) # this is not db2 backup filename
self.assertIsNotNone(12345) # look into this
self.assertIsNotNone(bkp) # look into this
self.assertEqual(
DB2BACKUP_CMD + PIPE + ZIP + PIPE + ENCRYPT, bkp.command)
self.assertIn("gz.enc", bkp.manifest)