Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Empty file added tests/__init__.py
Empty file.
Empty file added tests/unit/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import pytest
import sqlalchemy

import fauxdbi
from . import fauxdbi

sqlalchemy_version = packaging.version.parse(sqlalchemy.__version__)
sqlalchemy_1_3_or_higher = pytest.mark.skipif(
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_comments.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import sqlalchemy

from conftest import setup_table
from .conftest import setup_table


def test_inline_comments(faux_conn):
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import pytest
import sqlalchemy.exc

from conftest import setup_table
from conftest import sqlalchemy_1_4_or_higher
from .conftest import setup_table
from .conftest import sqlalchemy_1_4_or_higher


def test_constraints_are_ignored(faux_conn, metadata):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from sqlalchemy import Column, Integer, literal_column, select, String, Table, union
from sqlalchemy.testing.assertions import eq_, in_

from conftest import setup_table, sqlalchemy_1_3_or_higher
from .conftest import setup_table, sqlalchemy_1_3_or_higher


def assert_result(connection, sel, expected, params=()):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_geography.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import pytest

from conftest import setup_table
from .conftest import setup_table

geoalchemy2 = pytest.importorskip("geoalchemy2")

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import sqlalchemy_bigquery

from conftest import (
from .conftest import (
setup_table,
sqlalchemy_version,
sqlalchemy_1_3_or_higher,
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_sqlalchemy_bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import pytest
import sqlalchemy

from conftest import setup_table
from .conftest import setup_table


@pytest.fixture
Expand Down