Exemplo n.º 1
0
    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)
Exemplo n.º 2
0
    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)
Exemplo n.º 3
0
 def setUp(self):
     self.app = testing_app
     self.app_context = self.app.app_context()
     self.app_context.push()
     db.create_all()