# evennia.contrib.base_systems.awsstorage.tests

class `evennia.contrib.base_systems.awsstorage.tests.``S3Boto3TestCase`(methodName='runTest')

  Bases: `django.test.testcases.TestCase`

  `setUp`()

    Hook method for setting up the test fixture before exercising it.

class `evennia.contrib.base_systems.awsstorage.tests.``S3Boto3StorageTests`(methodName='runTest')

  Bases: `evennia.contrib.base_systems.awsstorage.tests.S3Boto3TestCase`

  `test_clean_name`()

    Test the base case of _clean_name

  `test_clean_name_normalize`()

    Test the normalization of _clean_name

  `test_clean_name_trailing_slash`()

    Test the _clean_name when the path has a trailing slash

  `test_clean_name_windows`()

    Test the _clean_name when the path has a trailing slash

  `test_pickle_with_bucket`()

    Test that the storage can be pickled with a bucket attached

  `test_pickle_without_bucket`()

    Test that the storage can be pickled, without a bucket instance

  `test_storage_url_slashes`()

    Test URL generation.

  `test_storage_save`()

    Test saving a file

  `test_storage_save_with_acl`()

    Test saving a file with user defined ACL.

  `test_content_type`()

    Test saving a file with a None content type.

  `test_storage_save_gzipped`()

    Test saving a gzipped file

  `test_storage_save_gzip`()

    Test saving a file with gzip enabled.

  `test_storage_save_gzip_twice`()

    Test saving the same file content twice with gzip enabled.

  `test_compress_content_len`()

    Test that file returned by _compress_content() is readable.

  `test_storage_open_write`()

    Test opening a file in write mode

  `test_storage_open_no_write`()

    Test opening file in write mode and closing without writing.

    A file should be created as by obj.put(…).

  `test_storage_open_no_overwrite_existing`()

    Test opening an existing file in write mode and closing without writing.

  `test_storage_write_beyond_buffer_size`()

    Test writing content that exceeds the buffer size

  `test_auto_creating_bucket`()
  `test_auto_creating_bucket_with_acl`()
  `test_storage_exists`()
  `test_storage_exists_false`()
  `test_storage_exists_doesnt_create_bucket`()
  `test_storage_delete`()
  `test_storage_listdir_base`()
  `test_storage_listdir_subdir`()
  `test_storage_size`()
  `test_storage_mtime`()
  `test_storage_url`()
  `test_generated_url_is_encoded`()
  `test_special_characters`()
  `test_strip_signing_parameters`()
  `test_connection_threading`()
  `test_location_leading_slash`()
  `test_override_class_variable`()
  `test_override_init_argument`()