git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c299d2
)
selftest: Use boolean types in Python.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 30 Mar 2010 12:44:37 +0000
(14:44 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 31 Mar 2010 00:20:09 +0000
(
02:20
+0200)
selftest/format-subunit
patch
|
blob
|
history
diff --git
a/selftest/format-subunit
b/selftest/format-subunit
index 6d2ceb10478cf623df727bcb74a2b930e82db19a..2ca69c4af1cb0edebed5a6b1444f39bed5ae88c7 100755
(executable)
--- a/
selftest/format-subunit
+++ b/
selftest/format-subunit
@@
-81,7
+81,7
@@
class PlainFormatter(object):
def end_testsuite(self, name, result, reason):
out = ""
- unexpected =
0
+ unexpected =
False
if not name in self.test_output:
print "no output for name[%s]" % name
@@
-93,7
+93,7
@@
class PlainFormatter(object):
self.suitesfailed.append(name)
if self.immediate and not self.verbose:
out += self.test_output[name]
- unexpected =
1
+ unexpected =
True
if not self.immediate:
if not unexpected: