Skip to content

Commit

Permalink
Chore: Fix software tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 18, 2025
1 parent 649feba commit 4280762
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cratedb_toolkit/api/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ClientBundle:

adapter: DatabaseAdapter
dbapi: crate.client.connection.Connection
sqlalchemy: sa.Engine
sqlalchemy: sa.engine.Engine


class ClusterBase(abc.ABC):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ optional-dependencies.test = [
"httpx<0.29",
"ipywidgets<9",
"notebook<8",
"pueblo[dataframe,notebook,testing]",
"pytest<9",
"pueblo[dataframe,notebook,testing]>=0.0.10",
"pytest>=7,<9",
"pytest-cov<7",
"pytest-mock<4",
"responses<0.26",
Expand Down
3 changes: 0 additions & 3 deletions tests/io/dynamodb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
import pytest

pytest.importorskip("boto3", reason="Skipping DynamoDB tests because 'boto3' package is not installed")
6 changes: 5 additions & 1 deletion tests/io/dynamodb/conftest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# ruff: noqa: E402
import logging
import time
import typing

import botocore
import pytest

pytest.importorskip("boto3", reason="Skipping DynamoDB tests because 'boto3' package is not installed")

import botocore
from yarl import URL

from cratedb_toolkit.io.dynamodb.adapter import DynamoDBAdapter
Expand Down

0 comments on commit 4280762

Please sign in to comment.