def test_Wd_depreciation(self): with self.assertRaises(Exception): print(self.dmis.Wd) with self.assertRaises(Exception): self.dmis.Wd = Utils.Identity()