Skip to content

Commit c85c4b6

Browse files
author
Vasileios Karakasis
committed
Stricter unit test for syslog port
1 parent da669ec commit c85c4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def test_syslog_handler_tcp_port_noint(temp_runtime):
361361
'handlers_perflog': []
362362
})
363363
next(runtime)
364-
with pytest.raises(ConfigError):
364+
with pytest.raises(ConfigError, match="not an integer: 'bar'"):
365365
rlog.configure_logging(rt.runtime().site_config)
366366

367367

0 commit comments

Comments
 (0)