fix failures

This commit is contained in:
Vishvananda Ishaya
2011年02月23日 00:59:15 -08:00
parent af34f45855
commit 60ed7c9c52

View File

@@ -181,6 +181,7 @@ class NovaTestResult(result.TextTestResult):
return str(test)
def addSuccess(self, test):
unittest.TestResult.addSuccess(self, test)
if self.showAll:
self.colorizer.write("OK", 'green')
self.stream.writeln()
@@ -188,7 +189,8 @@ class NovaTestResult(result.TextTestResult):
self.stream.write('.')
self.stream.flush()
def addFailure(self, test):
def addFailure(self, test, err):
unittest.TestResult.addFailure(self, test, err)
if self.showAll:
self.colorizer.write("FAIL", 'red')
self.stream.writeln()
Reference in New Issue
openstack/nova
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.