Skip to content

Commit

Permalink
Cleanup CF from new composite unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
thobbs committed Apr 30, 2012
1 parent 844251d commit 94c9802
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_autopacking.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,11 @@ def setup_class(cls):
comparator_type=CompositeType(AsciiType(), AsciiType()),
default_validation_class=AsciiType())

@classmethod
def teardown_class(cls):
sys = SystemManager()
sys.drop_column_family(TEST_KS, 'CompositeOverrideCF')

def test_column_validator(self):
cf = ColumnFamily(pool, 'CompositeOverrideCF')
cf.column_validators[('a', 'b')] = BooleanType()
Expand Down

0 comments on commit 94c9802

Please sign in to comment.