storage.test.brokers package¶
Submodules¶
storage.test.brokers.test_host_broker module¶
-
class
storage.test.brokers.test_host_broker.
TestHostBrokerDeleteFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling HostBroker.delete_files() successfully
-
-
class
storage.test.brokers.test_host_broker.
TestHostBrokerDownloadFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling HostBroker.download_files() successfully
-
-
class
storage.test.brokers.test_host_broker.
TestHostBrokerListFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_list_a_thousand
(*args, **keywargs)¶ Tests calling HostBroker.list_files() with multiple batches (1000+)
-
test_list_ten
(*args, **keywargs)¶ Tests calling HostBroker.list_files() to search directory
-
test_no_files
(*args, **keywargs)¶ Tests calling HostBroker.list_files() with no files in directory
-
test_no_files_flat_walk
(*args, **keywargs)¶ Tests calling HostBroker._dir_walker() with no files in directory
-
test_recursive_successfully
(*args, **keywargs)¶ Tests calling HostBroker.list_files() with files across multi-level directory tree
-
test_recursive_successfully_strip_path
(*args, **keywargs)¶ Tests calling HostBroker.list_files() with files across multi-level directory tree verifying the host volume path is removed
-
test_with_files_flat_dir_walker
(*args, **keywargs)¶ Tests calling HostBroker._dir_walker() with files in a directory
-
test_with_files_recursive_dir_walker
(*args, **keywargs)¶ Tests calling HostBroker._dir_walker() with files throughout tree
-
-
class
storage.test.brokers.test_host_broker.
TestHostBrokerLoadConfiguration
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
()¶ Tests calling HostBroker.load_configuration() successfully
-
-
class
storage.test.brokers.test_host_broker.
TestHostBrokerMoveFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling HostBroker.move_files() successfully
-
-
class
storage.test.brokers.test_host_broker.
TestHostBrokerUploadFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling HostBroker.upload_files() successfully
-
-
class
storage.test.brokers.test_host_broker.
TestHostBrokerValidateConfiguration
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_missing_host_path
()¶ Tests calling HostBroker.validate_configuration() with a missing host_path value
-
test_successfully
()¶ Tests calling HostBroker.validate_configuration() successfully
-
storage.test.brokers.test_nfs_broker module¶
-
class
storage.test.brokers.test_nfs_broker.
TestNfsBrokerDeleteFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling NfsBroker.delete_files() successfully
-
-
class
storage.test.brokers.test_nfs_broker.
TestNfsBrokerDownloadFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling NfsBroker.download_files() successfully
-
-
class
storage.test.brokers.test_nfs_broker.
TestNfsBrokerLoadConfiguration
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
()¶ Tests calling NfsBroker.load_configuration() successfully
-
-
class
storage.test.brokers.test_nfs_broker.
TestNfsBrokerMoveFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling NfsBroker.move_files() successfully
-
-
class
storage.test.brokers.test_nfs_broker.
TestNfsBrokerUploadFiles
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_successfully
(*args, **keywargs)¶ Tests calling NfsBroker.upload_files() successfully
-
-
class
storage.test.brokers.test_nfs_broker.
TestNfsBrokerValidateConfiguration
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_missing_nfs_path
()¶ Tests calling NfsBroker.validate_configuration() with a missing nfs_path value
-
test_successfully
()¶ Tests calling NfsBroker.validate_configuration() successfully
-
storage.test.brokers.test_s3_broker module¶
-
class
storage.test.brokers.test_s3_broker.
TestS3Broker
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶
-
test_delete_files
(*args, **keywargs)¶ Tests deleting files successfully
-
test_download_files
(*args, **keywargs)¶ Tests downloading files successfully
-
test_host_link_files
(*args, **keywargs)¶ Tests sym-linking files successfully
-
test_load_configuration
()¶ Tests loading a valid configuration successfully
-
test_load_configuration_whitespace_filled_host_path
()¶ Tests loading a valid configuration successfully while purging empty host_path value
-
test_move_files
(*args, **keywargs)¶ Tests moving files successfully
-
test_upload_files
(*args, **keywargs)¶ Tests uploading files successfully
-
test_validate_configuration_keys
()¶ Tests validating a configuration based on IAM keys successfully
-
test_validate_configuration_missing
()¶ Tests validating a configuration with missing attributes
-
test_validate_configuration_roles
()¶ Tests validating a configuration based on IAM roles successfully
-