summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Nitrate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Nitrate.py b/Nitrate.py
index ce94fe0..593d5f9 100644
--- a/Nitrate.py
+++ b/Nitrate.py
@@ -447,6 +447,7 @@ class Nitrate(object):
def __ne__(self, other):
""" Handle object inequality based on its id. """
+ if not isinstance(other, Nitrate): return True
return self.id != other.id
def __hash__(self):
@@ -2378,6 +2379,7 @@ class TestRun(Mutable):
log.error(pretty(testrunhash))
raise NitrateError("Failed to create test run")
self._get(testrunhash=testrunhash)
+ log.info("Successfully created {0}".format(self))
def _get(self, testrunhash=None):
""" Initialize / refresh test run data.