def tearDown(self):
     clean_tempdirs()
示例#2
0
 def tearDown(self):
     Globals().replace('storage_file', '/etc/shine/storage.conf')
     if self._conf is not None:
         self._conf.unregister_fs()
     clean_tempdirs()
     Globals().replace('backend', 'None')
 def tearDown(self):
     # Remove file from cache
     if self._fs:
         self._fs.unregister()
     # Delete the temp cache directory
     clean_tempdirs()
示例#4
0
 def tearDown(self):
     if self._conf:
         self._conf.unregister_fs()
     clean_tempdirs()
示例#5
0
 def tearDown(self):
     clean_tempdirs()
示例#6
0
 def tearDown(self):
     # Remove file from cache
     if self._fs:
         self._fs.unregister()
     # Delete the temp cache directory
     clean_tempdirs()
 def tearDown(self):
     if self._conf:
         self._conf.unregister_fs()
     clean_tempdirs()
示例#8
0
 def tearDown(self):
     Globals().replace('storage_file', '/etc/shine/storage.conf')
     if self._conf is not None:
         self._conf.unregister_fs()
     clean_tempdirs()
     Globals().replace('backend', 'None')