def setUp(self):
     self.app = create_app("testing")
     self.client = self.app.test_client()
     db.create_all()
 def setUp(self):
     self.app = create_app("testing")
     self.user = User("*****@*****.**", "fakepassword", "Alice", 33,
                      600112233, 123)
     db.create_all()
Exemplo n.º 3
0
 def setUp(self):
     self.app = create_app('testing')
     db.create_all()
Exemplo n.º 4
0
 def setUp(self):
     self.app = create_app('testing')
     self.client = self.app.test_client()
     self.user = User('*****@*****.**', 'fakepassword', 'test', 33,
                      '611223344', 1234)
     db.create_all()
Exemplo n.º 5
0
from twofa import db
from twofa.models import User
db.create_all()
Exemplo n.º 6
0
 def setUp(self):
     self.app = create_app("testing")
     self.client = self.app.test_client()
     self.user = User("*****@*****.**", "fakepassword", "test", 33,
                      "611223344", 1234)
     db.create_all()
Exemplo n.º 7
0
 def setUp(self):
     self.app = create_app('testing')
     self.user = User('*****@*****.**', 'fakepassword', 'Alice', 33,
                      600112233, 123)
     db.create_all()