diff --git a/tests/file_storage/tests.py b/tests/file_storage/tests.py
index 4ffba85..44960b3 100644
a
|
b
|
class GetStorageClassTests(SimpleTestCase):
|
64 | 64 | 'django.core.files.non_existing_storage.NonExistingStorage') |
65 | 65 | |
66 | 66 | |
| 67 | class FileStorageDecodeTests(unittest.TestCase): |
| 68 | |
| 69 | def test_decode(self): |
| 70 | path, args, kwargs = temp_storage.deconstruct() |
| 71 | self.assertEqual(path, "django.core.files.storage.FileSystemStorage") |
| 72 | self.assertEqual(args, []) |
| 73 | self.assertEqual(kwargs, {'location': temp_storage_location}) |
| 74 | |
| 75 | kwargs_orig = { |
| 76 | 'location': temp_storage_location, |
| 77 | 'base_url': 'http://myfiles.example.com/' |
| 78 | } |
| 79 | storage = FileSystemStorage(**kwargs_orig) |
| 80 | path, args, kwargs = storage.deconstruct() |
| 81 | self.assertEqual(kwargs, kwargs_orig) |
| 82 | |
| 83 | |
67 | 84 | class FileStorageTests(unittest.TestCase): |
68 | 85 | storage_class = FileSystemStorage |
69 | 86 | |