diff options
author | Aaron Bentley <aaron.bentley@utoronto.ca> | 2005-03-24 06:44:47 +0000 |
---|---|---|
committer | Aaron Bentley <aaron.bentley@utoronto.ca> | 2005-03-24 06:44:47 +0000 |
commit | 6decc39bc7314cf0596ea682bf17677b68888a5a (patch) | |
tree | 69275d869930b35e7e1647a24202c9006539740c /libbe/tests.py | |
parent | 37157407c121ca6cdfb4beb726adb49303bf929e (diff) | |
download | bugseverywhere-6decc39bc7314cf0596ea682bf17677b68888a5a.tar.gz |
started work on test case for "new"
Diffstat (limited to 'libbe/tests.py')
-rw-r--r-- | libbe/tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbe/tests.py b/libbe/tests.py index ecd6ed5..b6d3083 100644 --- a/libbe/tests.py +++ b/libbe/tests.py @@ -2,6 +2,7 @@ import tempfile import shutil import os import os.path +from libbe import bugdir, arch cleanable = [] def clean_up(): global cleanable @@ -22,3 +23,7 @@ def arch_dir(): dir = Dir() os.mkdir(os.path.join(dir.name, "{arch}")) return dir + +def bug_arch_dir(): + dir = arch_dir() + return bugdir.create_bug_dir(dir.name, arch) |