comments that say what I have to do
This commit is contained in:
parent
26966a34d2
commit
5c9b5fa56d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue