'Tests that explcit none updates are processed correctly on tuples
@since 3.1
@jira_ticket PYTHON-306
@expected_result tuple is replaced with none
@test_category object_mapper'

def test_update_from_non_empty_to_empty(self):

    pkey = uuid4()
    tmp = TestTupleModel.create(partition=pkey, int_tuple=(1, 2, 3))
    tmp.int_tuple = None
    tmp.update()
    tmp = TestTupleModel.get(partition=pkey)
    self.assertEqual(tmp.int_tuple, None)
