Skip to content

Commit

Permalink
Chore: This and that
Browse files Browse the repository at this point in the history
- Increase log level, to also see echoed SQL statements
- Re-add placeholder unit test, so satisfy CI
- Code formatting
  • Loading branch information
amotl committed Dec 14, 2024
1 parent 9cbfd82 commit 7ab026c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ markers = [
"compile: mark placeholder test used to compile integration tests without running them",
]
asyncio_mode = "auto"
log_level = "DEBUG"
log_cli_level = "DEBUG"

[tool.poetry.group.test]
optional = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from langchain_cratedb.vectorstores import (
CrateDBVectorStore,
)
from tests.integration_tests.conftest import CONNECTION_STRING
from tests.fixtures.filtering_test_cases import (
DOCUMENTS,
TYPE_1_FILTERING_TEST_CASES,
Expand All @@ -23,6 +22,7 @@
TYPE_5_FILTERING_TEST_CASES,
TYPE_6_FILTERING_TEST_CASES,
)
from tests.integration_tests.conftest import CONNECTION_STRING
from tests.integration_tests.vectorstore.fake_embeddings import (
ADA_TOKEN_COUNT,
ConsistentFakeEmbeddingsWithAdaDimension,
Expand Down
3 changes: 3 additions & 0 deletions tests/unit_tests/test_placeholder.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def test_placeholder():
# Currently, there are no other unit tests yet.
assert 42 == 42

0 comments on commit 7ab026c

Please sign in to comment.