Skip to content

Commit 12c5642

Browse files
committed
Fix lint
1 parent 2c493fa commit 12c5642

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/mock_vws/_mock_web_query_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,10 @@ def query(
602602
content_type = 'text/html; charset=ISO-8859-1'
603603
context.headers['Content-Type'] = content_type
604604
return Path(match_processing_resp_file).read_text()
605-
if target.active_flag and not target.delete_date:
605+
if (
606+
target.active_flag and not target.delete_date
607+
and target.status == TargetStatuses.SUCCESS.value
608+
):
606609
matches.add(target)
607610

608611
results: List[Dict[str, Any]] = []

0 commit comments

Comments
 (0)