random test coverage in repariert
This commit is contained in:
parent
151e4f7f68
commit
bb7168e3ca
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -128,7 +128,7 @@ def test_api_tagid_right_firsttag(app, client):
|
||||||
assert data[2] == -1
|
assert data[2] == -1
|
||||||
assert json.loads(response.data.decode('utf-8')) == {'balance': -1, 'mode': 'balance', 'username': 'test'}
|
assert json.loads(response.data.decode('utf-8')) == {'balance': -1, 'mode': 'balance', 'username': 'test'}
|
||||||
|
|
||||||
def test_api_tagid_right_firsttag(app, client):
|
def test_api_tagid_right_seconttag(app, client):
|
||||||
response = client.get("/api/tag_id?id=23456789")
|
response = client.get("/api/tag_id?id=23456789")
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
db = get_db()
|
db = get_db()
|
||||||
|
|
Loading…
Reference in a new issue