'Tests that updates can be preformed on tuple containers
@since 3.1
@jira_ticket PYTHON-306
@expected_result tuple is replaced
@test_category object_mapper'

def test_updates(self):

    initial = (1, 2)
    replacement = (1, 2, 3)
    m1 = TestTupleModel.create(int_tuple=initial)
    m1.int_tuple = replacement
    m1.save()
    m2 = TestTupleModel.get(partition=m1.partition)
    self.assertEqual(tuple(m2.int_tuple), replacement)
