fix url in test_print_labels

This commit is contained in:
Cayo Puigdefabregas 2022-09-07 10:26:00 +02:00
parent 261456514d
commit 04f8b630ac

View file

@ -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