tests: fix format string error

This commit is contained in:
David Wilson 2019-08-09 19:26:52 +01:00
parent 2ee0e07037
commit 1e3621a88b
1 changed files with 1 additions and 0 deletions

View File

@ -357,6 +357,7 @@ def test_siblings_cant_talk(router):
msg = mitogen.core.Router.unidirectional_msg % ( msg = mitogen.core.Router.unidirectional_msg % (
l2.context_id, l2.context_id,
l1.context_id, l1.context_id,
mitogen.context_id,
) )
assert msg in str(e) assert msg in str(e)
assert 'routing mode prevents forward of ' in logs.stop() assert 'routing mode prevents forward of ' in logs.stop()