Merge "Fix common/test_utils.py on Python 3.5.4+"
This commit is contained in:
@@ -1626,13 +1626,10 @@ class TestUtils(unittest.TestCase):
|
|||||||
'log_facility': 'LOG_LOCAL3',
|
'log_facility': 'LOG_LOCAL3',
|
||||||
'log_address': '/foo/bar',
|
'log_address': '/foo/bar',
|
||||||
}, 'server', log_route='server')
|
}, 'server', log_route='server')
|
||||||
self.assertEqual([
|
self.assertEqual(
|
||||||
((), {'address': '/foo/bar',
|
((), {'address': '/foo/bar',
|
||||||
'facility': orig_sysloghandler.LOG_LOCAL3}),
|
'facility': orig_sysloghandler.LOG_LOCAL3}),
|
||||||
# Second call is because /foo/bar didn't exist (and wasn't a
|
syslog_handler_args[0])
|
||||||
# UNIX domain socket).
|
|
||||||
((), {'facility': orig_sysloghandler.LOG_LOCAL3})],
|
|
||||||
syslog_handler_args)
|
|
||||||
|
|
||||||
# Using UDP with default port
|
# Using UDP with default port
|
||||||
syslog_handler_args = []
|
syslog_handler_args = []
|
||||||
|
|||||||
Reference in New Issue
Block a user