Open jsstevenson opened 1 month ago
Also -- double check these values in test_complete_gene
:
# TODO these aren't matching anymore, and the results here look kind of weird.
# we should double check in a separate issue
# assert response_json["prev_symbols"] == [
# ["A", "LOC100420587", "ncbigene:100420587", "NCBI:NC_000019.10", "-"]
# ]
# assert response_json["aliases"] == [
# ["A", "LOC110467529", "ncbigene:110467529", "NCBI:NC_000021.9", "+"]
# ]
And -- rather than checking exact values in test_complete_domain
, have an example of some canonically important domain to check for
Describe the bug
Running the constructor tests yields an assortment of errors related to asynchronous initialization of and access to FUSOR resources. This is bad.
Steps to reproduce
pytest tests/integration/test_constructors.py
Expected behavior
They should pass, or at least fail by value
Current behavior
Instead they produce a lot of varying async-related errors, particularly if you only call one at a time.
Possible reason(s)
No response
Suggested fix
No response
Branch, commit, and/or version
staging branch
Screenshots
No response
Environment details
mac
Additional details
No response
Contribution
Yes, I can create a PR for this fix.