Skip to content

[langchain-db2] Update integration tests suite #95

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MateuszOssGit
Copy link
Collaborator

Update integration tests suite

@@ -27,12 +28,12 @@ def test_table_exists_test() -> None:
try:
import ibm_db_dbi # type: ignore
except ImportError:
return
pytest.fail("ibm_db_dbi package is required to run this test")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @MateuszOssGit. I set it to return before because on the machine with no ibm_db_dbi and no connection to db2, the this testcase is not able to run. I think the integration test relies on the ibm_db_dbi and the connection to db2. Not sure if the integration test in the CI pipeline can pass if you change them like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants