

def test_is_closed(self):
    obj = TicketFactory()
    self.assertFalse(obj.is_closed())
    obj.status = 4
    self.assertTrue(self.is_closed())

dataset/ETHPy150Open byteweaver/django-tickets/tickets/tests/test_models.py TicketTestCase.test_is_closed/VarMisuse@37/44 `obj`->`self`