git://developer.intra2net.com
/
python-delta-tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a345b1c
)
Start all tests in the same directory
author
Daniel Garcia Moreno
<danigm@wadobo.com>
Fri, 23 Aug 2013 16:35:51 +0000 (18:35 +0200)
committer
Daniel Garcia Moreno
<danigm@wadobo.com>
Fri, 23 Aug 2013 16:35:51 +0000 (18:35 +0200)
testing/test_deltatar.py
patch
|
blob
|
blame
|
history
diff --git
a/testing/test_deltatar.py
b/testing/test_deltatar.py
index
61a750c
..
5cf7606
100644
(file)
--- a/
testing/test_deltatar.py
+++ b/
testing/test_deltatar.py
@@
-46,6
+46,7
@@
class DeltaTarTest(BaseTest):
'''
Create base test data
'''
+ self.pwd = os.getcwd()
os.system('rm -rf target_dir source_dir* backup_dir* huge')
os.makedirs('source_dir/test/test2')
self.hash = dict()
@@
-62,6
+63,7
@@
class DeltaTarTest(BaseTest):
'''
Remove temporal files created by unit tests
'''
+ os.chdir(self.pwd)
os.system("rm -rf source_dir target_dir source_dir* backup_dir* huge")
def test_restore_simple_full_backup(self):