diff --git a/tests/test_website.py b/tests/test_website.py index a728dd8..c06615b 100644 --- a/tests/test_website.py +++ b/tests/test_website.py @@ -3,6 +3,7 @@ from urllib import response from Website import create_app import json import pdb +import Website from Website.db import get_db from .test_conf import client, app @@ -44,8 +45,7 @@ def test_addtag_userid_nan(client): def test_addtag(app, client): response_addtag = client.get('/addtag?id=1') - with app.app_context(): - None + #hier muss der userque was hinzugefĆ¼gt werden! response_tagid = client.get('/api/tag_id?id=12345678') #/api