def test_equality(self): i = Issue(load('issue')) expect(self.i) == i i.id = 1 expect(self.i) != i
def test_equality(self): i = Issue(load('issue')) assert self.i == i i.id = 1 assert self.i != i