Skip to content

Commit

Permalink
move out of context
Browse files Browse the repository at this point in the history
  • Loading branch information
snopoke committed Sep 13, 2016
1 parent 7d039ed commit 995cb48
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ def setUp(self):
super(CaseMultimediaS3DBTest, self).setUp()
with trap_extra_setup(AttributeError, msg="S3_BLOB_DB_SETTINGS not configured"):
config = settings.S3_BLOB_DB_SETTINGS
self.s3db = TemporaryS3BlobDB(config)
assert get_blob_db() is self.s3db, (get_blob_db(), self.s3db)

self.s3db = TemporaryS3BlobDB(config)
assert get_blob_db() is self.s3db, (get_blob_db(), self.s3db)

def tearDown(self):
self.s3db.close()
Expand Down

0 comments on commit 995cb48

Please sign in to comment.