@@ -130,11 +130,21 @@ def test_happy_path(example_filename: str, content_type: str):
130
130
(["stanley-cups.csv" ], [], "application/csv" ),
131
131
(["fake.doc" ], [], "application/msword" ),
132
132
# 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
+ ),
134
139
(["fake-email.eml" ], ["fake-email-image-embedded.eml" ], "message/rfc822" ),
135
140
# compressed and uncompressed
136
141
# 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
+ ),
138
148
(["fake-email.eml" ], ["fake-email-image-embedded.eml" ], "" ),
139
149
],
140
150
)
0 commit comments