Skip to content

Commit

Permalink
[fix] Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MadSchemas committed Feb 4, 2025
1 parent 22bba1f commit a2a4413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyreindexer/tests/tests/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_sql_select_timeout_small(self, db, namespace, index):
for item in items:
db.item.insert("new_ns", item)
# When ("Try to execute SQL query SELECT with small timeout")
query = ("SELECT * FROM new_ns WHERE id > -1 AND non_idx > 0 MERGE (SELECT * FROM new_ns WHERE val < 'testval1000' AND AND non_idx > 0) MERGE "
query = ("SELECT * FROM new_ns WHERE id > -1 AND non_idx > 0 MERGE (SELECT * FROM new_ns WHERE val < 'testval1000' AND non_idx > 0) MERGE "
"(SELECT * FROM new_ns WHERE val > 'testval1000' AND id RANGE(1,9000) AND non_idx > 100)")
assert_that(calling(db.query.sql).with_args(query, timeout=timedelta(milliseconds=1)),
raises(ApiError, pattern="Context timeout"))
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def build_cmake(self, ext):


setup(name=PACKAGE_NAME,
version='0.3.5',
version='0.3.6',
description='A connector that allows to interact with Reindexer',
author='Igor Tulmentyev',
maintainer='Reindexer Team',
Expand Down

0 comments on commit a2a4413

Please sign in to comment.