def test__eq__fail_on_location(self):
     """
     Tests LocationWrap.__eq__ with two unequal wraps
     """
     l1 = LocationWrap('equal')
     l2 = LocationWrap('not equal')
     l1._weight = 8374
     l2._weight = 8374
     l1.adminnames = [1, 2, 3, 4]
     l2.adminnames = [1, 2, 3, 4]
     assert l1 != l2
 def test__eq__fail_on_wrap(self):
     """
     Tests LocationWrap.__eq__ with two unequal wraps
     """
     l1 = LocationWrap('equal')
     l2 = 'i am a string and not a wrap'
     l1._weight = 8374
     l1.adminnames = [1, 2, 3, 4]
     assert l1 != l2