projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e3487
)
test_node.py: more coverage of Node.log
author
Brian Warner
<warner@lothar.com>
Wed, 31 Oct 2007 07:56:59 +0000
(
00:56
-0700)
committer
Brian Warner
<warner@lothar.com>
Wed, 31 Oct 2007 07:56:59 +0000
(
00:56
-0700)
src/allmydata/test/test_node.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_node.py
b/src/allmydata/test/test_node.py
index f55e99a185e6180b4b4a33657494b3f6369ecff4..ee860c0092d4b258561cf211196ba0c568e45e35 100644
(file)
--- a/
src/allmydata/test/test_node.py
+++ b/
src/allmydata/test/test_node.py
@@
-45,6
+45,7
@@
class TestCase(unittest.TestCase, testutil.SignalMixin):
n = TestNode()
n.log("this is a message")
n.log("with %d %s %s", args=(2, "interpolated", "parameters"))
+ n.log("with bogus %d expansion", args=("not an integer",))
def test_timestamp(self):
# this modified logger doesn't seem to get used during the tests,