Test syslog.openlog() without args to test syslog_get_argv()

This commit is contained in:
Christian Heimes 2013-12-05 13:56:56 +01:00
parent db8f5c3fd1
commit ac98a4e407

View file

@ -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__)