random test coverage in repariert

This commit is contained in:
2000-Trek 2023-08-16 21:41:10 +02:00
parent 151e4f7f68
commit bb7168e3ca
2 changed files with 1 additions and 1 deletions

View file

@ -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()