Skip to content

Commit 7fc9a64

Browse files
committed
Make test pass on mock
1 parent ed88cf4 commit 7fc9a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mock_vws/_mock_web_query_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ def query(
559559
content_type = 'text/html; charset=ISO-8859-1'
560560
context.headers['Content-Type'] = content_type
561561
return Path(match_processing_resp_file).read_text()
562-
if delete_processing:
562+
if target.active_flag and delete_processing:
563563
# We return an example 500 response.
564564
# Each response given by Vuforia is different.
565565
resources_dir = Path(__file__).parent / 'resources'

0 commit comments

Comments
 (0)