aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_storage.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix up testsSebastian Spaeth2012-12-211-4/+5
| | | | | | | | | | | | empty find() queries would not work anymore with the simplified .find compatability code, so remove these and use proper sqlalchemy in the tests. The storage test failed because my virtualenv environment ran mediagoblin/local/mediagoblin/tests/test_storage.py and somehow decided the 2 classes are different objects. Just test against the full class name. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Tests for StorageInterface*.copy_local_to_storage()Christopher Allan Webber2011-11-201-0/+27
|
* Feature #587 - Split storage.py into submodulesJoar Wandborg2011-09-121-3/+3
| | | | | | | | | * 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`
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|
* Updating tests for new storage config codeChristopher Allan Webber2011-08-211-12/+9
|
* renaming storage_system_from_paste_config()->storage_system_from_config()Christopher Allan Webber2011-06-191-3/+3
| | | | | As Elrond points out, this name doesn't make sense anymore since this isn't based on the paste config. Thanks Elrond!
* Added a FakeRemoteStorage, for testing purposesChristopher Allan Webber2011-06-111-2/+10
|
* Adding a copy_locally() method to the StorageInterface and giving it a test.Christopher Allan Webber2011-06-111-0/+16
|
* Allow storage systems to be local and allow for a get_local_pathChristopher Allan Webber2011-06-111-0/+17
| | | | method if applicable.
* storage.storage_system_from_paste_config() utility, w/ testsChristopher Allan Webber2011-04-171-0/+34
|
* Test for BasicFileStorage.file_url()Christopher Allan Webber2011-04-161-1/+21
|
* Tests for BasicFileStorage.delete_file()Christopher Allan Webber2011-04-161-1/+16
|
* Tests for BasicFileStorage.get_file()Christopher Allan Webber2011-04-161-1/+33
|
* Changes Mediagoblin -> MediaGoblin.Will Kahn-Greene2011-04-131-1/+1
|
* Test BasicFileStorage.get_unique_filepath()Christopher Allan Webber2011-04-101-2/+19
|
* Unit tests for BasicFileStorage.file_exists()Christopher Allan Webber2011-04-101-0/+13
|
* Started BasicFileStorage tests. test_basic_storage__resolve_filepath() done.Christopher Allan Webber2011-04-101-8/+52
| | | | Also switched to using assert_raises, which is only sane!
* Raise a specific error if a filename component can't be resolved into anything.Christopher Allan Webber2011-04-091-0/+9
|
* file storage filelist cleaningChristopher Allan Webber2011-04-091-0/+32