From: Brian Warner Date: Wed, 31 Oct 2007 07:56:59 +0000 (-0700) Subject: test_node.py: more coverage of Node.log X-Git-Tag: allmydata-tahoe-0.7.0~339 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/index.php?a=commitdiff_plain;h=f9a72e0e7572fff3de56b7ef3b89f34a9c1e74ab;p=tahoe-lafs%2Ftahoe-lafs.git test_node.py: more coverage of Node.log --- diff --git a/src/allmydata/test/test_node.py b/src/allmydata/test/test_node.py index f55e99a1..ee860c00 100644 --- 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,