'Tests that partial udpates work as expected'

def test_partial_updates(self):

    now = datetime.now()
    now = datetime(*now.timetuple()[:(-3)])
    early = (now - timedelta(minutes=30))
    earlier = (early - timedelta(minutes=30))
    later = (now + timedelta(minutes=30))
    initial = {'now': now, 'early': earlier}
    final = {'later': later, 'early': early}
    m1 = TestMapModel.create(text_map=initial)
    m1.text_map = final
    m1.save()
    m2 = TestMapModel.get(partition=m1.partition)
    self.assertEqual(m2.text_map, final)
