From 5c9b5fa56d8c2abbb113201276650add0979d1ab Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Sat, 29 Jul 2023 00:15:09 +0200 Subject: [PATCH] comments that say what I have to do --- tests/test_website.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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