Kaydet (Commit) ac98a4e4 authored tarafından Christian Heimes's avatar Christian Heimes

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

üst db8f5c3f
...@@ -32,6 +32,10 @@ class Test(unittest.TestCase): ...@@ -32,6 +32,10 @@ class Test(unittest.TestCase):
def test_log_upto(self): def test_log_upto(self):
syslog.LOG_UPTO(syslog.LOG_INFO) syslog.LOG_UPTO(syslog.LOG_INFO)
def test_openlog_noargs(self):
syslog.openlog()
syslog.syslog('test message from python test_syslog')
def test_main(): def test_main():
support.run_unittest(__name__) support.run_unittest(__name__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment