Skip to content

Commit

Permalink
Adjust changed test name for DifficultParameters tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Nov 22, 2023
1 parent ef1c01e commit 9b12de7
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions test/integration/sqlalchemy/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,25 +154,36 @@ def test_update_rowcount_return_defaults(self, connection):


class DifficultParametersTest(_DifficultParametersTest):
@pytest.mark.xfail(reason="https://github.com/exasol/sqlalchemy-exasol/issues/232")
@testing.combinations(
tough_parameters = testing.combinations(
("boring",),
("per cent",),
("per % cent",),
("%percent",),
("par(ens)",),
("percent%(ens)yah",),
("col:ons",),
("_starts_with_underscore",),
("dot.s",),
("more :: %colons%",),
("_name",),
("___name",),
("[BracketsAndCase]",),
("42numbers",),
("percent%signs",),
("has spaces",),
("/slashes/",),
("more/slashes",),
("q?marks",),
("1param",),
("1col:on",),
argnames="name",
argnames="paramname",
)
def test_round_trip(self, name, connection, metadata):
super().test_round_trip(name, connection, metadata)

@pytest.mark.xfail(reason="https://github.com/exasol/sqlalchemy-exasol/issues/232")
@tough_parameters
@config.requirements.unusual_column_name_characters
def test_round_trip_same_named_column(self, paramname, connection, metadata):
super().test_round_trip_same_named_column(paramname, connection, metadata)


class ComponentReflectionTest(_ComponentReflectionTest):
Expand Down

0 comments on commit 9b12de7

Please sign in to comment.