Skip to content

Commit 65e97c9

Browse files
authored
infra: mv SQLDatabase tests to community (#17276)
1 parent 72c7af0 commit 65e97c9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

libs/langchain/tests/unit_tests/test_sql_database.py renamed to libs/community/tests/unit_tests/test_sql_database.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""Test SQL database wrapper."""
33
import pytest
44
import sqlalchemy as sa
5-
from langchain_community.utilities.sql_database import SQLDatabase, truncate_word
65
from sqlalchemy import (
76
Column,
87
Integer,
@@ -16,6 +15,8 @@
1615
select,
1716
)
1817

18+
from langchain_community.utilities.sql_database import SQLDatabase, truncate_word
19+
1920
metadata_obj = MetaData()
2021

2122
user = Table(

libs/langchain/tests/unit_tests/test_sql_database_schema.py renamed to libs/community/tests/unit_tests/test_sql_database_schema.py

File renamed without changes.

0 commit comments

Comments
 (0)