|
26 | 26 | from cassandra.query import dict_factory |
27 | 27 | from cassandra.util import OrderedMap |
28 | 28 |
|
29 | | -from tests.integration import use_singledc, PROTOCOL_VERSION, execute_until_pass, BasicSegregatedKeyspaceUnitTestCase, greaterthancass20, greaterthanorequalcass36 |
30 | | -from tests.integration.datatype_utils import update_datatypes, PRIMITIVE_DATATYPES, PRIMITIVE_DATATYPES_KEYS, COLLECTION_TYPES, \ |
31 | | - get_sample, get_collection_sample |
| 29 | +from tests.integration import use_singledc, PROTOCOL_VERSION, execute_until_pass, BasicSegregatedKeyspaceUnitTestCase, \ |
| 30 | + greaterthancass20, greaterthanorequalcass36, lessthancass30 |
| 31 | +from tests.integration.datatype_utils import update_datatypes, PRIMITIVE_DATATYPES, PRIMITIVE_DATATYPES_KEYS, \ |
| 32 | + COLLECTION_TYPES, get_sample, get_collection_sample |
32 | 33 |
|
33 | 34 | nested_collection_udt = namedtuple('nested_collection_udt', ['m', 't', 'l', 's']) |
34 | 35 | nested_collection_udt_nested = namedtuple('nested_collection_udt_nested', ['m', 't', 'l', 's', 'u']) |
@@ -691,6 +692,7 @@ def test_non_alphanum_identifiers(self): |
691 | 692 | self.assertEqual(k[0], 'alphanum') |
692 | 693 | self.assertEqual(k.field_0_, 'alphanum') # named tuple with positional field name |
693 | 694 |
|
| 695 | + @lessthancass30 |
694 | 696 | def test_type_alteration(self): |
695 | 697 | s = self.session |
696 | 698 | type_name = "type_name" |
@@ -723,6 +725,7 @@ def test_type_alteration(self): |
723 | 725 | self.assertEqual(val['v0'], 3) |
724 | 726 | self.assertEqual(val['v1'], six.b('\xde\xad\xbe\xef')) |
725 | 727 |
|
| 728 | + @lessthancass30 |
726 | 729 | def test_alter_udt(self): |
727 | 730 | """ |
728 | 731 | Test to ensure that altered UDT's are properly surfaced without needing to restart the underlying session. |
|
0 commit comments