File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1- autoflake == 1.3
1+ autoflake == 1.3.1
22check-manifest == 0.39
33codecov == 2.0.15 # Upload coverage data
44doc8 == 0.8.0
@@ -26,5 +26,5 @@ sphinxcontrib-spelling==4.3.0
2626twine == 2.0.0
2727versioneer == 0.18
2828vulture == 1.1
29- VWS-Python-Mock == 2018.12.1 .0
29+ VWS-Python-Mock == 2019.9.28 .0
3030yapf == 0.28.0 # Automatic formatting for Python
Original file line number Diff line number Diff line change @@ -262,20 +262,14 @@ def test_match_processing(
262262 high_quality_image : io .BytesIO ,
263263) -> None :
264264 """
265- A ``MatchProcessing`` exception is raised when a deleted target is matched.
265+ A ``MatchProcessing`` exception is raised when a target in processing is
266+ matched.
266267 """
267- target_id = vws_client .add_target (
268+ vws_client .add_target (
268269 name = 'x' ,
269270 width = 1 ,
270271 image = high_quality_image ,
271272 )
272273 with pytest .raises (MatchProcessing ) as exc :
273274 cloud_reco_client .query (image = high_quality_image )
274275 assert exc .value .response .status_code == codes .INTERNAL_SERVER_ERROR
275- vws_client .wait_for_target_processed (target_id = target_id )
276- cloud_reco_client .query (image = high_quality_image )
277- vws_client .delete_target (target_id = target_id )
278- with pytest .raises (MatchProcessing ) as exc :
279- cloud_reco_client .query (image = high_quality_image )
280-
281- assert exc .value .response .status_code == codes .INTERNAL_SERVER_ERROR
You can’t perform that action at this time.
0 commit comments