def setUp(self):
     self.db_fd, filename = tempfile.mkstemp()
     bookmark.app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///%s" % (
         filename)
     bookmark.app.config['TESTING'] = True
     self.app = bookmark.app.test_client()
     reset_all('sample.json')
Beispiel #2
0
 def run(self):
     reset_all('sample.json')
 def setUp(self):
     self.db_fd, filename = tempfile.mkstemp()
     bookmark.app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///%s" % (filename)
     bookmark.app.config['TESTING'] = True
     self.app = bookmark.app.test_client()
     reset_all('sample.json')
Beispiel #4
0
 def run(self):
     reset_all('sample.json')
Beispiel #5
0
 def run(self):
     reset_all("sample.json")