Joar Wandborg
a2468d18ca
Feature #587 - Split storage.py into submodules
...
* Removed storage.py
* Created submodules for filestorage, cloudfiles, mountstorage
* Changed test_storage to reflect the changes made in the storage
module structure
* Added mediagoblin.storage.filestorage.BasicFileStorage as a
default for both publicstore and queuestore's `storage_class`
2011-09-12 02:32:03 +02:00
Will Kahn-Greene
12a100e4d8
508. Updates copyright/license information
2011-09-01 20:50:19 -04:00
Christopher Allan Webber
63c9a0c766
Updating tests for new storage config code
2011-08-21 15:14:45 -05:00
Christopher Allan Webber
3c7d11ff28
renaming storage_system_from_paste_config()->storage_system_from_config()
...
As Elrond points out, this name doesn't make sense anymore since this
isn't based on the paste config. Thanks Elrond!
2011-06-19 11:36:52 -05:00
Christopher Allan Webber
d91b5a7c2d
Added a FakeRemoteStorage, for testing purposes
2011-06-11 19:17:44 -05:00
Christopher Allan Webber
6a07362dd0
Adding a copy_locally() method to the StorageInterface and giving it a test.
2011-06-11 12:04:30 -05:00
Christopher Allan Webber
3a89c23e7f
Allow storage systems to be local and allow for a get_local_path
...
method if applicable.
2011-06-11 11:18:03 -05:00
Christopher Allan Webber
ffa2293549
storage.storage_system_from_paste_config() utility, w/ tests
2011-04-17 10:24:36 -05:00
Christopher Allan Webber
01da9e6a0e
Test for BasicFileStorage.file_url()
2011-04-16 12:47:15 -05:00
Christopher Allan Webber
d024806a0b
Tests for BasicFileStorage.delete_file()
2011-04-16 11:03:32 -05:00
Christopher Allan Webber
d2be0838a7
Tests for BasicFileStorage.get_file()
2011-04-16 11:00:53 -05:00
Will Kahn-Greene
8e1e744d27
Changes Mediagoblin -> MediaGoblin.
2011-04-13 10:04:30 -04:00
Christopher Allan Webber
20e3ee115d
Test BasicFileStorage.get_unique_filepath()
2011-04-10 16:51:25 -05:00
Christopher Allan Webber
92fb87ae8d
Unit tests for BasicFileStorage.file_exists()
2011-04-10 16:23:55 -05:00
Christopher Allan Webber
17e7093e4b
Started BasicFileStorage tests. test_basic_storage__resolve_filepath() done.
...
Also switched to using assert_raises, which is only sane!
2011-04-10 15:50:32 -05:00
Christopher Allan Webber
770c12be8d
Raise a specific error if a filename component can't be resolved into anything.
2011-04-09 11:45:38 -05:00
Christopher Allan Webber
a6b378ef4d
file storage filelist cleaning
2011-04-09 11:41:09 -05:00