diff options
| author | drebs <drebs@leap.se> | 2013-05-01 10:30:41 -0300 | 
|---|---|---|
| committer | drebs <drebs@leap.se> | 2013-05-01 10:30:41 -0300 | 
| commit | 56262b4b4c82aeb9a0b0669eba4a993c88909e9c (patch) | |
| tree | 4255e12fda16cbb2a2179fa0a06f8ed2802a2360 /src | |
| parent | ed1de5e0f0ee84156ab35e295bc7d778aded81c4 (diff) | |
Change how tmp directoy is removed on Couch backend tests.
Diffstat (limited to 'src')
| -rw-r--r-- | src/leap/soledad/tests/test_couch.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/leap/soledad/tests/test_couch.py b/src/leap/soledad/tests/test_couch.py index b0352782..9ac07f88 100644 --- a/src/leap/soledad/tests/test_couch.py +++ b/src/leap/soledad/tests/test_couch.py @@ -22,6 +22,7 @@ Test ObjectStore and Couch backend bits.  import re  import copy +import shutil  from base64 import b64decode  from leap.soledad.backends import couch  from leap.soledad.tests import u1db_tests as tests @@ -116,7 +117,7 @@ stderr:          """          self.process.terminate()          self.process.communicate() -        os.system("rm -rf %s" % self.tempdir) +        shutil.rmtree(self.tempdir)  class CouchDBTestCase(unittest.TestCase): | 
