~cbehrens/nova/lp844160-build-works-with-zones

« back to all changes in this revision

Viewing changes to nova/tests/objectstore_unittest.py

  • Committer: Soren Hansen
  • Date: 2010-07-15 15:52:11 UTC
  • mfrom: (3.1.14 trunk)
  • Revision ID: soren.hansen@rackspace.com-20100715155211-4gpr1wgl1jzgr1zt
Merge with -core's diverged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
# delete tempdirs from previous runs (we don't delete after test to allow
40
40
# checking the contents after running tests)
41
 
for path in glob.glob(os.path.abspath(os.path.join(oss_tempdir, '../test_oss-*'))):
42
 
    if path != oss_tempdir:
43
 
        shutil.rmtree(path)
 
41
# TODO: This fails on the test box with a permission denied error
 
42
# Also, doing these things in a global tempdir means that different runs of
 
43
# the test suite on the same box could clobber each other.
 
44
#for path in glob.glob(os.path.abspath(os.path.join(oss_tempdir, '../test_oss-*'))):
 
45
#    if path != oss_tempdir:
 
46
#        shutil.rmtree(path)
44
47
 
45
48
 
46
49
# create bucket/images path