fix import in tests
This commit is contained in:
parent
309b266fe9
commit
f3926e3b92
|
@ -4,7 +4,7 @@ from io import BytesIO, StringIO
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import teal.marshmallow
|
from ereuse_devicehub.teal.marshmallow import ValidationError
|
||||||
|
|
||||||
from ereuse_devicehub import auth
|
from ereuse_devicehub import auth
|
||||||
from ereuse_devicehub.client import Client, UserClient
|
from ereuse_devicehub.client import Client, UserClient
|
||||||
|
@ -90,7 +90,7 @@ def test_erasure_certificate_wrong_id(client: Client):
|
||||||
client.get(
|
client.get(
|
||||||
res=documents.DocumentDef.t,
|
res=documents.DocumentDef.t,
|
||||||
item='erasures/this-is-not-an-id',
|
item='erasures/this-is-not-an-id',
|
||||||
status=teal.marshmallow.ValidationError,
|
status=ValidationError,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue