From: Christian Heimes Date: Thu, 5 Dec 2013 12:56:56 +0000 (+0100) Subject: Test syslog.openlog() without args to test syslog_get_argv() X-Git-Tag: v3.4.0b2~333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac98a4e40730f9d7216f67ce8f2e10cde6055cdb;p=thirdparty%2FPython%2Fcpython.git Test syslog.openlog() without args to test syslog_get_argv() --- diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py index 4e7621e5ec2f..b7fd2bdabb5e 100644 --- a/Lib/test/test_syslog.py +++ b/Lib/test/test_syslog.py @@ -32,6 +32,10 @@ class Test(unittest.TestCase): def test_log_upto(self): syslog.LOG_UPTO(syslog.LOG_INFO) + def test_openlog_noargs(self): + syslog.openlog() + syslog.syslog('test message from python test_syslog') + def test_main(): support.run_unittest(__name__)