Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove remaining imports/calls to six not automatically removed by pyupgrade. | Ben Sturmfels | 2021-03-05 | 1 | -2/+0 |
| | |||||
* | Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code. | Ben Sturmfels | 2021-03-05 | 1 | -11/+10 |
| | |||||
* | #5416: Fix tests using the FileObjectAwareFile | Christopher Allan Webber | 2016-02-11 | 1 | -7/+7 |
| | |||||
* | Use new-style classes. The old-style classes are deprecated in Python 3. | Berker Peksag | 2014-06-08 | 1 | -2/+2 |
| | |||||
* | The file() builtin has been removed in Python 3. Use open() instead. | Berker Peksag | 2014-06-07 | 1 | -6/+6 |
| | |||||
* | Use six.text_type instead of unicode(). | Berker Peksag | 2014-06-02 | 1 | -1/+3 |
| | | | | I will be switch to use ``from __future__ import unicode_literals`` later. | ||||
* | Reverting "Always activate testing in every test module ever." | Christopher Allan Webber | 2013-05-17 | 1 | -3/+0 |
| | | | | | | Revert "Always activate testing in every test module ever." This reverts commit 0536306048daa0970d2e43411ba2a9bf073e570e. | ||||
* | Always activate testing in every test module ever. | Christopher Allan Webber | 2013-05-16 | 1 | -0/+3 |
| | | | | Kind of a dorky way to implement this, but... | ||||
* | Cleanup storage after test, and test .delete_dir(). | Elrond | 2013-04-21 | 1 | -6/+23 |
| | | | | | | | | | | | | The storage tests work in the system's tmpdir. The python docs say, we should clean up after using things. Yes the directory should be cleaned up on reboot, but if running tests a lot, the tmpdir could fill up, so we should really cleanup. So use the new .delete_dir() on the storage interface to cleanup test dirs and get them finally removed with os.rmdir. All nicely packed into cleanup_storage(). | ||||
* | Testing: Remove some left over files/dirs. | Elrond | 2013-04-08 | 1 | -1/+25 |
| | | | | | | | | | | | When using tempfile.* in testing, those files get created in the system tempdir. The docs say, we should try to remove them. Yes, the next reboot will clean them up also. And in the workbench case, check after each test, that the global workbench dir is empty (so the sub-workbcnhes have been destroyed). | ||||
* | Really removing nosetests things now! all assert_whatever removed | Christopher Allan Webber | 2013-04-06 | 1 | -11/+9 |
| | |||||
* | Fix up tests | Sebastian Spaeth | 2012-12-21 | 1 | -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 here | Christopher Allan Webber | 2012-02-02 | 1 | -1/+1 |
| | |||||
* | Tests for StorageInterface*.copy_local_to_storage() | Christopher Allan Webber | 2011-11-20 | 1 | -0/+27 |
| | |||||
* | Feature #587 - Split storage.py into submodules | Joar Wandborg | 2011-09-12 | 1 | -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 information | Will Kahn-Greene | 2011-09-01 | 1 | -1/+1 |
| | |||||
* | Updating tests for new storage config code | Christopher Allan Webber | 2011-08-21 | 1 | -12/+9 |
| | |||||
* | renaming storage_system_from_paste_config()->storage_system_from_config() | Christopher Allan Webber | 2011-06-19 | 1 | -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 purposes | Christopher Allan Webber | 2011-06-11 | 1 | -2/+10 |
| | |||||
* | Adding a copy_locally() method to the StorageInterface and giving it a test. | Christopher Allan Webber | 2011-06-11 | 1 | -0/+16 |
| | |||||
* | Allow storage systems to be local and allow for a get_local_path | Christopher Allan Webber | 2011-06-11 | 1 | -0/+17 |
| | | | | method if applicable. | ||||
* | storage.storage_system_from_paste_config() utility, w/ tests | Christopher Allan Webber | 2011-04-17 | 1 | -0/+34 |
| | |||||
* | Test for BasicFileStorage.file_url() | Christopher Allan Webber | 2011-04-16 | 1 | -1/+21 |
| | |||||
* | Tests for BasicFileStorage.delete_file() | Christopher Allan Webber | 2011-04-16 | 1 | -1/+16 |
| | |||||
* | Tests for BasicFileStorage.get_file() | Christopher Allan Webber | 2011-04-16 | 1 | -1/+33 |
| | |||||
* | Changes Mediagoblin -> MediaGoblin. | Will Kahn-Greene | 2011-04-13 | 1 | -1/+1 |
| | |||||
* | Test BasicFileStorage.get_unique_filepath() | Christopher Allan Webber | 2011-04-10 | 1 | -2/+19 |
| | |||||
* | Unit tests for BasicFileStorage.file_exists() | Christopher Allan Webber | 2011-04-10 | 1 | -0/+13 |
| | |||||
* | Started BasicFileStorage tests. test_basic_storage__resolve_filepath() done. | Christopher Allan Webber | 2011-04-10 | 1 | -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 Webber | 2011-04-09 | 1 | -0/+9 |
| | |||||
* | file storage filelist cleaning | Christopher Allan Webber | 2011-04-09 | 1 | -0/+32 |