Spaces:
Running
Running
Update test case (URL substring sanitization)
Browse files
tests/unit/test_image_search.py
CHANGED
|
@@ -44,7 +44,6 @@ def _dummy_requests_get_success_search(
|
|
| 44 |
"""Return a successful mock response for search_pexels."""
|
| 45 |
|
| 46 |
# Validate that the function under test passes expected args
|
| 47 |
-
assert 'pexels.com' in url
|
| 48 |
assert 'Authorization' in headers
|
| 49 |
assert 'User-Agent' in headers
|
| 50 |
assert 'query' in params
|
|
|
|
| 44 |
"""Return a successful mock response for search_pexels."""
|
| 45 |
|
| 46 |
# Validate that the function under test passes expected args
|
|
|
|
| 47 |
assert 'Authorization' in headers
|
| 48 |
assert 'User-Agent' in headers
|
| 49 |
assert 'query' in params
|