Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ncbi tests #86

Merged
merged 22 commits into from
Apr 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pytest fix as TypeError
Anwesh1 committed Apr 19, 2021
commit 57fa17ad8070b9e403835ce2c0a3bf8a308d71f2
4 changes: 1 addition & 3 deletions tests/test_ncbi.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import pytest

from fastapi.exceptions import HTTPException

from semantic_search.ncbi import _medline_to_docs


def test_invalid_uid_test():
with pytest.raises(HTTPException):
with pytest.raises(TypeError):
uid = ["93846392868"]
_medline_to_docs(uid)