Merge "Rename BackupNFSSwiftBasedTestCase"
This commit is contained in:
commit
203db865a6
|
@ -163,8 +163,8 @@ def fake_md5(arg):
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
class BackupNFSSwiftBasedTestCase(test.TestCase):
|
class BackupNFSTestCase(test.TestCase):
|
||||||
"""Test Cases for based on Swift tempest backup tests."""
|
"""Test Cases for NFS backup driver."""
|
||||||
|
|
||||||
_DEFAULT_VOLUME_ID = fake.VOLUME_ID
|
_DEFAULT_VOLUME_ID = fake.VOLUME_ID
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ class BackupNFSSwiftBasedTestCase(test.TestCase):
|
||||||
return self.thread_original_method(*args, **kwargs)
|
return self.thread_original_method(*args, **kwargs)
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(BackupNFSSwiftBasedTestCase, self).setUp()
|
super(BackupNFSTestCase, self).setUp()
|
||||||
|
|
||||||
self.ctxt = context.get_admin_context()
|
self.ctxt = context.get_admin_context()
|
||||||
self.mock_object(hashlib, 'md5', fake_md5)
|
self.mock_object(hashlib, 'md5', fake_md5)
|
||||||
|
|
Loading…
Reference in New Issue