1
0
Fork 0
forked from bton/matekasse

comments that say what I have to do

This commit is contained in:
2000-Trek 2023-07-29 00:15:09 +02:00
parent 26966a34d2
commit 5c9b5fa56d

View file

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