Skip to content

Commit d15412f

Browse files
PYTHON-1402 Support running test suite with DSE 6.9.0 (#1233)
1 parent c4aff64 commit d15412f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/integration/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ def _id_and_mark(f):
342342
greaterthanorequaldse50 = unittest.skipUnless(DSE_VERSION and DSE_VERSION >= Version('5.0'), "DSE 5.0 or greater required for this test")
343343
lessthandse51 = unittest.skipUnless(DSE_VERSION and DSE_VERSION < Version('5.1'), "DSE version less than 5.1 required")
344344
lessthandse60 = unittest.skipUnless(DSE_VERSION and DSE_VERSION < Version('6.0'), "DSE version less than 6.0 required")
345+
lessthandse69 = unittest.skipUnless(DSE_VERSION and DSE_VERSION < Version('6.9'), "DSE version less than 6.9 required")
345346

346347
pypy = unittest.skipUnless(platform.python_implementation() == "PyPy", "Test is skipped unless it's on PyPy")
347348
requiresmallclockgranularity = unittest.skipIf("Windows" in platform.system() or "asyncore" in EVENT_LOOP_MANAGER,

tests/integration/cqlengine/statements/test_base_statement.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
from tests.integration.cqlengine.base import BaseCassEngTestCase, TestQueryUpdateModel
2727
from tests.integration.cqlengine import DEFAULT_KEYSPACE
28-
from tests.integration import greaterthanorequalcass3_10, TestCluster
28+
from tests.integration import greaterthanorequalcass3_10, lessthandse69, TestCluster
2929

3030
from cassandra.cqlengine.connection import execute
3131

@@ -101,6 +101,7 @@ def test_insert_statement_execute(self):
101101
self.assertEqual(TestQueryUpdateModel.objects.count(), 0)
102102

103103
@greaterthanorequalcass3_10
104+
@lessthandse69
104105
def test_like_operator(self):
105106
"""
106107
Test to verify the like operator works appropriately

0 commit comments

Comments
 (0)