Skip to content

Commit 5b7fd85

Browse files
committed
Fix integration tests
1 parent a801706 commit 5b7fd85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_core.py

+5
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,11 @@ def test_core_search_sorted_results(run_command, httpserver):
541541
url = httpserver.url_for("/test_index.json")
542542
assert run_command(f"core update-index --additional-urls={url}")
543543

544+
# This is done only to avoid index update output when calling core search
545+
# since it automatically updates them if they're outdated and it makes it
546+
# harder to parse the list of cores
547+
assert run_command("core search")
548+
544549
# list all with additional url specified
545550
result = run_command(f"core search --additional-urls={url}")
546551
assert result.ok

0 commit comments

Comments
 (0)