| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Revert "Always activate testing in every test module ever."
This reverts commit 0536306048daa0970d2e43411ba2a9bf073e570e.
|
|
|
|
| |
Kind of a dorky way to implement this, but...
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
|
|
| |
Test the decorator function and proper cleanup after it's usage.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
And add a lot of warnings, as the checks for "being part of
the main Manager" are all gone.
|
|
|
|
|
|
|
|
| |
As Workbench has the localized_file() method, use this
everywhere and drop the wrapper method from
WorkbenchManager.
The processing code already did that.
|
|
|
|
|
| |
Some references to Workbench.dir look ugly, I'm happy to
hear suggestions there.
|
| |
|
|
|
|
| |
figure that out by looking to see whether our storage is local or not.
|
| |
|
| |
|
| |
|
|
|