29 Special method implementing the equality operator. |
29 Special method implementing the equality operator. |
30 |
30 |
31 @param other reference to the other page object (Page) |
31 @param other reference to the other page object (Page) |
32 @return flag indicating equality (boolean) |
32 @return flag indicating equality (boolean) |
33 """ |
33 """ |
34 return self.title == other.title and \ |
34 return ( |
|
35 self.title == other.title and |
35 self.url == other.url |
36 self.url == other.url |
|
37 ) |
36 |
38 |
37 def isValid(self): |
39 def isValid(self): |
38 """ |
40 """ |
39 Public method to check the validity. |
41 Public method to check the validity. |
40 |
42 |