tardis.apps.s3utils.tests package¶
Submodules¶
tardis.apps.s3utils.tests.test_api module¶
Testing the s3util app’s extensions to the tastypie-based mytardis api
-
class
tardis.apps.s3utils.tests.test_api.
S3UtilsAppApiTestCase
(methodName='runTest')¶ Bases:
tardis.tardis_portal.tests.api.MyTardisResourceTestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_download_dfo
()¶ Test downloading a DataFileObject using the s3util app’s extensions to the MyTardis REST API.
-
tardis.apps.s3utils.tests.test_app_config module¶
tardis.apps.s3utils.tests.test_checksums module¶
Testing the s3util app’s ability to calculate checksums for S3 objects
-
class
tardis.apps.s3utils.tests.test_checksums.
S3UtilsAppChecksumsTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_checksums
()¶ Ensure that we can calculate an MD5 sum and a SHA512 sum for a file in S3 object storage
-