Skip to content

Commit

Permalink
Mark test depending on driver update as xfail
Browse files Browse the repository at this point in the history
see also #232
  • Loading branch information
Nicoretti committed Nov 9, 2022
1 parent f029f26 commit 215b9e6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/integration/sqlalchemy/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
)
from sqlalchemy.testing.suite import ComponentReflectionTest as _ComponentReflectionTest
from sqlalchemy.testing.suite import CompoundSelectTest as _CompoundSelectTest
from sqlalchemy.testing.suite import DifficultParametersTest as _DifficultParametersTest
from sqlalchemy.testing.suite import ExceptionTest as _ExceptionTest
from sqlalchemy.testing.suite import ExpandingBoundInTest as _ExpandingBoundInTest
from sqlalchemy.testing.suite import HasIndexTest as _HasIndexTest
Expand All @@ -19,6 +20,28 @@
)


class DifficultParametersTest(_DifficultParametersTest):
@pytest.mark.xfail(reason="https://github.com/exasol/sqlalchemy-exasol/issues/232")
@testing.combinations(
("boring",),
("per cent",),
("per % cent",),
("%percent",),
("par(ens)",),
("percent%(ens)yah",),
("col:ons",),
("more :: %colons%",),
("/slashes/",),
("more/slashes",),
("q?marks",),
("1param",),
("1col:on",),
argnames="name",
)
def test_round_trip(self, name, connection, metadata):
super().test_round_trip(name, connection, metadata)


class ComponentReflectionTest(_ComponentReflectionTest):
@pytest.mark.skip(reason="EXASOL has no explicit indexes")
def test_get_indexes(self, connection, use_schema):
Expand Down

0 comments on commit 215b9e6

Please sign in to comment.