summaryrefslogtreecommitdiff
path: root/framework/test/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'framework/test/base.py')
-rw-r--r--framework/test/base.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/test/base.py b/framework/test/base.py
index efc20cbe3..8a4bf99b7 100644
--- a/framework/test/base.py
+++ b/framework/test/base.py
@@ -337,6 +337,12 @@ class Test(object):
return error
+ def __eq__(self, other):
+ return self.command == other.command
+
+ def __ne__(self, other):
+ return not self == other
+
class WindowResizeMixin(object):
""" Mixin class that deals with spurious window resizes