'Tests that partial udpates work as expected'

def test_partial_updates(self):

    m1 = TestSetModel.create(int_set=set((1, 2, 3, 4)))
    m1.int_set.add(5)
    m1.int_set.remove(1)
    self.assertEqual(m1.int_set, set((2, 3, 4, 5)))
    m1.save()
    m2 = TestSetModel.get(partition=m1.partition)
    self.assertEqual(m2.int_set, set((2, 3, 4, 5)))
