Exemplo n.º 1
0
 def zap_all(self):
     _, destroy = sqlite_files(self.options, self.prefix)
     destroy()
     # zapping happens frequently during test runs,
     # and during zodbconvert when the process will exist
     # only for a short time.
     self.flush_all()
Exemplo n.º 2
0
 def assertPersistentCache(self, cache):
     import os
     from relstorage.cache.persistence import sqlite_files
     fname, _ = sqlite_files(cache.options, cache.prefix)
     if fname:
         self.assertTrue(os.path.exists(fname), fname)
Exemplo n.º 3
0
 def zap_all(self):
     _, destroy = sqlite_files(self.options, self.prefix)
     destroy()