diff options
author | Thomas Koch <thomas@koch.ro> | 2013-01-21 15:50:39 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-04-08 07:43:02 +0200 |
commit | 3d6b68ae541d6020ff747628b3e44196999e0a50 (patch) | |
tree | bb3f94d4f9c0af6eb3a9779dbf6bbee20a512ef0 /tests/test_Changelog.py | |
parent | 92edb4eda14cf4b5fd1514feb7b81aa50456285c (diff) |
tests: Use tempfile.mkdtemp to create temp dirs for tests
This puts test dirs below /tmp which often is a tmpfs.
All tests include the context module which consolidates tmpdir creation
and cleanup, undoes a chdir in teardown and silences log messages.
Diffstat (limited to 'tests/test_Changelog.py')
-rw-r--r-- | tests/test_Changelog.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_Changelog.py b/tests/test_Changelog.py index 5516d03..0c84480 100644 --- a/tests/test_Changelog.py +++ b/tests/test_Changelog.py @@ -3,9 +3,8 @@ """ Test L{gbp.deb.changelog.ChangeLog} """ - +from . import context import os -import nose cl_debian = """git-buildpackage (0.5.32) unstable; urgency=low |