'Tests that an instance\'s delete method deletes the instance'

def test_model_deleting_works_properly(self):

    tm = TestModel.create(count=8, text='123456789')
    tm.delete()
    tm2 = TestModel.objects(id=tm.pk).first()
    self.assertIsNone(tm2)
