示例#1
0
 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
示例#2
0
 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