Skip to content

Commit

Permalink
Adjust tests for SQLA 1.4.46
Browse files Browse the repository at this point in the history
  • Loading branch information
gordthompson committed Jan 7, 2023
1 parent e7ccb81 commit f8d77e1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sqlalchemy_access/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import pyodbc

__version__ = "1.1.4.dev0"
__version__ = "1.1.4"

pyodbc.pooling = False # required for Access databases with ODBC linked tables
_registry.register(
Expand Down
15 changes: 15 additions & 0 deletions test/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
from sqlalchemy.testing.suite import (
FetchLimitOffsetTest as _FetchLimitOffsetTest,
)
from sqlalchemy.testing.suite import (
HasTableTest as _HasTableTest,
)
from sqlalchemy.testing.suite import InsertBehaviorTest as _InsertBehaviorTest
from sqlalchemy.testing.suite import IntegerTest as _IntegerTest
from sqlalchemy.testing.suite import JoinTest as _JoinTest
Expand Down Expand Up @@ -77,6 +80,12 @@ def test_round_trip(self):
# "COUNT field incorrect"
return

@testing.skip("access")
def test_round_trip_same_named_column(self):
# bypass this test because CREATE TABLE statements fail for
# "[BracketsAndCase]", "dot_s", and "q?marks" cases
return


class ExistsTest(_ExistsTest):
@testing.skip("access")
Expand Down Expand Up @@ -152,6 +161,12 @@ def test_limit_render_multiple_times(self):
return


class HasTableTest(_HasTableTest):
@testing.skip("access")
def test_has_table(self):
return


class InsertBehaviorTest(_InsertBehaviorTest):
@testing.skip("access")
def test_empty_insert(self):
Expand Down

0 comments on commit f8d77e1

Please sign in to comment.