'Tests that subsequent saves after initial model creation work'

def test_model_updating_works_properly(self):

    tm = TestModel.objects.create(count=8, text='123456789')
    tm.count = 100
    tm.a_bool = True
    tm.save()
    tm2 = TestModel.objects(id=tm.pk).first()
    self.assertEqual(tm.count, tm2.count)
    self.assertEqual(tm.a_bool, tm2.a_bool)
