fix url in test_print_labels
This commit is contained in:
parent
261456514d
commit
04f8b630ac
|
@ -1,4 +1,3 @@
|
||||||
import csv
|
|
||||||
import datetime
|
import datetime
|
||||||
import json
|
import json
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
@ -419,7 +418,7 @@ def test_print_labels(user3: UserClientFlask):
|
||||||
body, status = user3.post(uri, data=data)
|
body, status = user3.post(uri, data=data)
|
||||||
|
|
||||||
assert status == '200 OK'
|
assert status == '200 OK'
|
||||||
path = "/inventory/device/{}/".format(dev.devicehub_id)
|
path = "/devices/{}".format(dev.devicehub_id)
|
||||||
assert path in body
|
assert path in body
|
||||||
assert "tag1" in body
|
assert "tag1" in body
|
||||||
|
|
||||||
|
|
Reference in a new issue