'Tests that updates from None work as expected'

def test_blind_list_updates_from_none(self):

    m = TestListModel.create(int_list=None)
    expected = [1, 2]
    m.int_list = expected
    m.save()
    m2 = TestListModel.get(partition=m.partition)
    self.assertEqual(m2.int_list, expected)
    TestListModel.objects(partition=m.partition).update(int_list=[])
    m3 = TestListModel.get(partition=m.partition)
    self.assertEqual(m3.int_list, [])
