diff options
author | Christian Heimes <christian@cheimes.de> | 2013-12-05 12:56:56 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-12-05 12:56:56 (GMT) |
commit | ac98a4e40730f9d7216f67ce8f2e10cde6055cdb (patch) | |
tree | fb1c7f5ba8a3bdb8b29ae276d73c72a47fe22901 /Lib/test/test_syslog.py | |
parent | db8f5c3fd1af581d40444a7b710f854ffb0d5b3a (diff) | |
download | cpython-ac98a4e40730f9d7216f67ce8f2e10cde6055cdb.zip cpython-ac98a4e40730f9d7216f67ce8f2e10cde6055cdb.tar.gz cpython-ac98a4e40730f9d7216f67ce8f2e10cde6055cdb.tar.bz2 |
Test syslog.openlog() without args to test syslog_get_argv()
Diffstat (limited to 'Lib/test/test_syslog.py')
-rw-r--r-- | Lib/test/test_syslog.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py index 4e7621e5..b7fd2bd 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__) |