fix test print label in test_render

This commit is contained in:
Cayo Puigdefabregas 2022-08-29 17:22:29 +02:00
parent 43f1d4e209
commit b5a738c44a

View file

@ -419,7 +419,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