def setUp(self): self.app = testing_app self.app_context = self.app.app_context() self.app_context.push() db.create_all() self.driver = webdriver.PhantomJS() self.baseURL = "http://localhost:5000/" self.driver.set_window_size(1124, 850)
def setUp(self): self.app = testing_app self.app_context = self.app.app_context() self.app_context.push() db.create_all()