diff --git a/test/unit/common/test_utils.py b/test/unit/common/test_utils.py index 1d7c4e79fa..5600442f40 100644 --- a/test/unit/common/test_utils.py +++ b/test/unit/common/test_utils.py @@ -1626,13 +1626,10 @@ class TestUtils(unittest.TestCase): 'log_facility': 'LOG_LOCAL3', 'log_address': '/foo/bar', }, 'server', log_route='server') - self.assertEqual([ + self.assertEqual( ((), {'address': '/foo/bar', 'facility': orig_sysloghandler.LOG_LOCAL3}), - # Second call is because /foo/bar didn't exist (and wasn't a - # UNIX domain socket). - ((), {'facility': orig_sysloghandler.LOG_LOCAL3})], - syslog_handler_args) + syslog_handler_args[0]) # Using UDP with default port syslog_handler_args = []