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
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import csv
import datetime
import json
from io import BytesIO
@ -419,7 +418,7 @@ def test_print_labels(user3: UserClientFlask):
body, status = user3.post(uri, data=data)
assert status == '200 OK'
path = "/inventory/device/{}/".format(dev.devicehub_id)
path = "/devices/{}".format(dev.devicehub_id)
assert path in body
assert "tag1" in body