8 lines
253 B
Python
8 lines
253 B
Python
from image_prediction.pipeline import load_pipeline
|
|
|
|
|
|
def test_pipeline(real_pdf, real_expected_service_response):
|
|
pipeline = load_pipeline(verbose=False)
|
|
response = list(pipeline(real_pdf))
|
|
assert response == real_expected_service_response
|