def test_equality(self): """Show that two instances of Label are equal.""" label = Label(get_issue_label_example_data()) assert self.instance == label label._uniq = ('https://https//api.github.com/repos/sigmavirus24/' 'github3.py/labels/wontfix') assert self.instance != label
def test_equality(self): l = Label(load('label')) assert self.l == l l._uniq = ("https://api.github.com/repos/sigmavirus24/github3.py/" "labels/wontfix") assert self.l != l