@@ -130,11 +130,21 @@ def test_happy_path(example_filename: str, content_type: str):
130130 (["stanley-cups.csv" ], [], "application/csv" ),
131131 (["fake.doc" ], [], "application/msword" ),
132132 # compressed and uncompressed
133- (["layout-parser-paper-fast.pdf" ], ["list-item-example.pdf" ], "application/pdf" ),
133+ pytest .param (
134+ ["layout-parser-paper-fast.pdf" ],
135+ ["list-item-example.pdf" ],
136+ "application/pdf" ,
137+ marks = pytest .mark .skipif (skip_inference_tests , reason = "emulated architecture" ),
138+ ),
134139 (["fake-email.eml" ], ["fake-email-image-embedded.eml" ], "message/rfc822" ),
135140 # compressed and uncompressed
136141 # empty content-type means that API should detect filetype after decompressing.
137- (["layout-parser-paper-fast.pdf" ], ["list-item-example.pdf" ], "" ),
142+ pytest .param (
143+ ["layout-parser-paper-fast.pdf" ],
144+ ["list-item-example.pdf" ],
145+ "" ,
146+ marks = pytest .mark .skipif (skip_inference_tests , reason = "emulated architecture" ),
147+ ),
138148 (["fake-email.eml" ], ["fake-email-image-embedded.eml" ], "" ),
139149 ],
140150)
0 commit comments