Unit tests for the NetApp-specific NFS driver module (netapp_nfs)
-
class FakeResponce(status)
Bases: object
-
class FakeSnapshot(volume_size=0)
Bases: object
-
class FakeVolume(size=0)
Bases: object
-
class NetappNfsDriverTestCase(methodName='runTest')
Bases: nova.test.TestCase
Test case for NetApp specific NFS clone driver
-
setUp()
-
tearDown()
-
test_check_for_setup_error()
-
test_create_snapshot()
Test snapshot can be created and deleted
-
test_create_volume_from_snapshot()
Tests volume creation from snapshot
-
test_delete_existing_snapshot()
-
test_delete_missing_snapshot()
-
test_do_setup()
-
test_failed_clone_volume()
-
test_successfull_clone_volume()