Permalink
Browse files

adjust version check - C* 1.1.0 reports 19.30.0 via `describe_version()`

but 19.20.0 via `version` as `c11.constants.VERSION` is the newer `19.32.0`
  • Loading branch information...
1 parent 8c76d0d commit b7d216f3ec04c69f296f8da3d9bfd74395fbf111 @hannosch hannosch committed with thobbs Jul 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/test_system_manager.py
@@ -96,7 +96,8 @@ def test_column_validators(self):
self.assertEquals(cf.get('key'), {'name': 'John', 'age': 40})
def test_caching_pre_11(self):
- version = tuple([int(v) for v in sys._conn.version.split('.')])
+ version = tuple(
+ [int(v) for v in sys._conn.describe_version().split('.')])
if version >= (19, 30, 0):
raise SkipTest('CF specific caching no longer supported.')
sys.create_column_family(TEST_KS, 'CachedCF10',

0 comments on commit b7d216f

Please sign in to comment.