Models round-trip test imports resolve_repository from models.io.storage
This commit is contained in:
@@ -22,7 +22,7 @@ def test_imported_rows_are_what_models_reads_and_model_writes_are_what_the_api_s
|
|||||||
"""Rows imported over HTTP are read back through `models`' repository, and a row written there is served by
|
"""Rows imported over HTTP are read back through `models`' repository, and a row written there is served by
|
||||||
the API. Fails if `resolve_repository` stops returning the objects WebApi writes with."""
|
the API. Fails if `resolve_repository` stops returning the objects WebApi writes with."""
|
||||||
from core.cama.models import Mastografia
|
from core.cama.models import Mastografia
|
||||||
from models.io.repositories import resolve_repository
|
from models.io.storage import resolve_repository
|
||||||
|
|
||||||
csv = b"Expediente,BIRADS\nRT-1,BI-RADS 4\nRT-2,2\n"
|
csv = b"Expediente,BIRADS\nRT-1,BI-RADS 4\nRT-2,2\n"
|
||||||
response = client.post(
|
response = client.post(
|
||||||
|
|||||||
Reference in New Issue
Block a user