Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
adjust version check - C* 1.1.0 reports 19.30.0 via describe_version()
Browse files Browse the repository at this point in the history
but 19.20.0 via `version` as `c11.constants.VERSION` is the newer `19.32.0`
  • Loading branch information
hannosch authored and thobbs committed Jul 17, 2012
1 parent 8c76d0d commit b7d216f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_system_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b7d216f

Please sign in to comment.