Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code. | Ben Sturmfels | 2021-03-05 | 1 | -1/+1 |
| | |||||
* | Fixing one more bytes vs string battle in Python 3 | Christopher Allan Webber | 2016-02-11 | 1 | -2/+2 |
| | |||||
* | Fix an usage of file(). | Berker Peksag | 2014-06-08 | 1 | -1/+1 |
| | |||||
* | 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 | -1/+3 |
| | | | | | | | | | | | | 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/+10 |
| | | | | | | | | | | | 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). | ||||
* | All mediagoblin tests now pass with py.test (switched setUp to setup) | Christopher Allan Webber | 2013-04-03 | 1 | -1/+1 |
| | |||||
* | Move workbench into tools directory. | Elrond | 2013-01-17 | 1 | -1/+1 |
| | |||||
* | Add @get_workbench test | Sebastian Spaeth | 2013-01-16 | 1 | -2/+19 |
| | | | | | | Test the decorator function and proper cleanup after it's usage. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | Shorten Workbench(Manager) method names | Sebastian Spaeth | 2013-01-16 | 1 | -6/+7 |
| | | | | | | | | | | | 1) destroy_self() is a horrible function name, make it "destroy". workbench.destroy() is descriptive enough. 2) WorkbenchManager.create_workbench() -> WorkbenchManager.create() We use the pattern "with workbench_manager.create() as workbench:" No need to mention workbenches three times in a row... Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | Fix problems from pyflakes output | Will Kahn-Greene | 2012-06-03 | 1 | -1/+0 |
| | |||||
* | It's 2012 all up in here | Christopher Allan Webber | 2012-02-02 | 1 | -1/+1 |
| | |||||
* | 508. Updates copyright/license information | Will Kahn-Greene | 2011-09-01 | 1 | -1/+1 |
| | |||||
* | Move destroy_workbench to Workbench class | Elrond | 2011-06-14 | 1 | -11/+4 |
| | | | | | And add a lot of warnings, as the checks for "being part of the main Manager" are all gone. | ||||
* | Drop WorkbenchManager.localized_file() | Elrond | 2011-06-14 | 1 | -6/+5 |
| | | | | | | | | As Workbench has the localized_file() method, use this everywhere and drop the wrapper method from WorkbenchManager. The processing code already did that. | ||||
* | Create a Workbench class and use it everywhere. | Elrond | 2011-06-13 | 1 | -12/+18 |
| | | | | | Some references to Workbench.dir look ugly, I'm happy to hear suggestions there. | ||||
* | possibly_localize_file->localized_file... a bit less terribly long. | Christopher Allan Webber | 2011-06-11 | 1 | -5/+5 |
| | |||||
* | Don't bother returning whether or not we copied it or not, we can | Christopher Allan Webber | 2011-06-11 | 1 | -5/+4 |
| | | | | figure that out by looking to see whether our storage is local or not. | ||||
* | Moving workbench out of process_media | Christopher Allan Webber | 2011-06-11 | 1 | -1/+1 |
| | |||||
* | test WorkbenchManager.possibly_localize_file() | Christopher Allan Webber | 2011-06-11 | 1 | -0/+43 |
| | |||||
* | Make sure workbench won't kill directories out of scope. | Christopher Allan Webber | 2011-06-11 | 1 | -6/+16 |
| | |||||
* | Tests for creating/destroying workbenches | Christopher Allan Webber | 2011-06-11 | 1 | -0/+44 |