diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-04-21 19:19:40 +0200 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-04-21 19:26:57 +0200 |
commit | fd1202b7745a536428cdfe1d862a07bf59a3ad43 (patch) | |
tree | bd8c5ec12211402a3a1ad81b3d5f44edb7e483d4 /docs/source/devel | |
parent | 449863863a747279b038f9b195ac60c547b73fe2 (diff) | |
download | mediagoblin-fd1202b7745a536428cdfe1d862a07bf59a3ad43.tar.lz mediagoblin-fd1202b7745a536428cdfe1d862a07bf59a3ad43.tar.xz mediagoblin-fd1202b7745a536428cdfe1d862a07bf59a3ad43.zip |
Cleanup storage after test, and test .delete_dir().
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().
Diffstat (limited to 'docs/source/devel')
0 files changed, 0 insertions, 0 deletions