diff options
| author | Robert Collins <robertc@robertcollins.net> | 2013-01-20 11:38:59 +1300 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2013-01-20 11:38:59 +1300 |
| commit | cb2a1ac4182535ed20323303edc77e7a1fa6f9ff (patch) | |
| tree | aab08cc4afa38ce6ece4c84673c57f686814f4c1 /lib/testresources/tests/test_test_resource.py | |
| parent | cf53bcf11057aa93ddf17dcff899434f37ce920c (diff) | |
| download | testresources-git-0.2.6.tar.gz | |
Release 0.2.6 and add Python3.2 compat.0.2.6
Diffstat (limited to 'lib/testresources/tests/test_test_resource.py')
| -rw-r--r-- | lib/testresources/tests/test_test_resource.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/testresources/tests/test_test_resource.py b/lib/testresources/tests/test_test_resource.py index 7cde13b..fbc883b 100644 --- a/lib/testresources/tests/test_test_resource.py +++ b/lib/testresources/tests/test_test_resource.py @@ -36,6 +36,9 @@ class MockResourceInstance(object): def __init__(self, name): self._name = name + def __eq__(self, other): + return self.__dict__ == other.__dict__ + def __cmp__(self, other): return cmp(self.__dict__, other.__dict__) |
