'Map item removal requires a set to match the CQL API
@jira_ticket PYTHON-688'

def test_map_remove_rejects_non_sets(self):

    partition = uuid4()
    cluster = 1
    TestQueryUpdateModel.objects.create(partition=partition, cluster=cluster, text_map={'foo': '1', 'bar': '2'})
    with self.assertRaises(ValidationError):
        TestQueryUpdateModel.objects(partition=partition, cluster=cluster).update(text_map__remove=['bar'])
