'Tests that models that have container types with indices can be synced.
@since 3.2
@jira_ticket PYTHON-533
@expected_result table_sync should complete without a server error.
@test_category object_mapper'

@greaterthancass20
def test_sync_indexed_set(self):

    sync_table(TestIndexSetModel)
    table_meta = management._get_table_metadata(TestIndexSetModel)
    self.assertIsNotNone(management._get_index_name_by_column(table_meta, 'int_set'))
    self.assertIsNotNone(management._get_index_name_by_column(table_meta, 'int_list'))
    self.assertIsNotNone(management._get_index_name_by_column(table_meta, 'text_map'))
    self.assertIsNotNone(management._get_index_name_by_column(table_meta, 'mixed_tuple'))
