File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,8 @@ def test_default(
196196 image = high_quality_image ,
197197 max_num_results = 2 ,
198198 )
199+ assert 'target_data' in top_match
200+ assert 'target_data' not in second_match
199201
200202 def test_top (
201203 self ,
@@ -219,6 +221,8 @@ def test_top(
219221 image = high_quality_image ,
220222 max_num_results = 2 ,
221223 )
224+ assert 'target_data' in top_match
225+ assert 'target_data' not in second_match
222226
223227 def test_none (
224228 self ,
@@ -242,6 +246,8 @@ def test_none(
242246 image = high_quality_image ,
243247 max_num_results = 2 ,
244248 )
249+ assert 'target_data' not in top_match
250+ assert 'target_data' not in second_match
245251
246252 def test_all (
247253 self ,
@@ -265,3 +271,5 @@ def test_all(
265271 image = high_quality_image ,
266272 max_num_results = 2 ,
267273 )
274+ assert 'target_data' in top_match
275+ assert 'target_data' in second_match
You can’t perform that action at this time.
0 commit comments