]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_node.py: more coverage of Node.log
authorBrian Warner <warner@lothar.com>
Wed, 31 Oct 2007 07:56:59 +0000 (00:56 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 31 Oct 2007 07:56:59 +0000 (00:56 -0700)
src/allmydata/test/test_node.py

index f55e99a185e6180b4b4a33657494b3f6369ecff4..ee860c0092d4b258561cf211196ba0c568e45e35 100644 (file)
@@ -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,