def test_equality(self): l = Label(load('label')) assert self.l == l l._api = ("https://api.github.com/repos/sigmavirus24/github3.py/" "labels/wontfix") assert self.l != l
def test_equality(self): l = Label(load('label')) expect(self.l) == l l._api = "https://api.github.com/repos/sigmavirus24/github3.py/labels/wontfix" expect(self.l) != l