TG-35 : Typo
This commit is contained in:
parent
e06455ca84
commit
f5b7026e40
@ -3,12 +3,15 @@ import unittest
|
|||||||
from flask import json
|
from flask import json
|
||||||
|
|
||||||
from app.core import app
|
from app.core import app
|
||||||
|
from app.model import USER, getUser
|
||||||
|
|
||||||
|
|
||||||
class AuthTestCase(unittest.TestCase):
|
class AuthTestCase(unittest.TestCase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
pass
|
if getUser(login="admin") is None:
|
||||||
|
query = USER.insert().values(login="admin", email="admin@admin.com", role="4", phone="00.00.00.00.00")
|
||||||
|
query.execute()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
|
Reference in New Issue
Block a user