Skip to content

test: fix integer compliance tests #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 19, 2021
Prev Previous commit
Next Next commit
fix: change docstring to be consistent
  • Loading branch information
HemangChothani committed Mar 11, 2021
commit 79241a4bd5cf3fa3d365cc0f34951de8e66ff7cb
10 changes: 8 additions & 2 deletions test/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ def test_select_exists_false(self, connection):
class IntegerTest(_IntegerTest):
@provide_metadata
def _round_trip(self, datatype, data):
"""This is the helper method for integer class tests which creates table and
"""
SPANNER OVERRIDE:

This is the helper method for integer class tests which creates table and
perform insert operation.
Cloud Spanner supports tables with empty primary key, but
only single one row can be inserted into such a table -
Expand Down Expand Up @@ -235,7 +238,10 @@ def _round_trip(self, datatype, data):

@provide_metadata
def _literal_round_trip(self, type_, input_, output, filter_=None):
"""Sql alchemy is not able cleanup data and drop the table correctly,
"""
SPANNER OVERRIDE:

Sql alchemy is not able cleanup data and drop the table correctly,
table was already exists after related tests finished, so it doesn't
create a new table and when started tests for other data type following
insertions will fail with `400 Duplicate name in schema: t.
Expand Down