Skip to content

Commit

Permalink
Relax checks for test_github_search
Browse files Browse the repository at this point in the history
The Github search API seems flaky and sometimes it returns the expected `meta.yaml` element, sometimes the other `build.sh` element and sometimes both...
  • Loading branch information
davelopez committed Feb 18, 2022
1 parent f13faf8 commit dd484b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/unit/tool_util/mulled/test_mulled_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def test_github_search():
search1 = t.process_json(t.get_json("adsfasdf"), "adsfasdf")
search2 = t.process_json(t.get_json("bioconductor-gosemsim"), "bioconductor-gosemsim")
assert search1 == []
assert {"path": "recipes/bioconductor-gosemsim/meta.yaml", "name": "meta.yaml"} in search2
assert search2
for item in search2:
assert "bioconductor-gosemsim" in item["path"]


@external_dependency_management
Expand Down

0 comments on commit dd484b9

Please sign in to comment.