test_node.py: more coverage of Node.log

This commit is contained in:
Brian Warner 2007-10-31 00:56:59 -07:00
parent 22e3487b9e
commit f9a72e0e75

View 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,