tests: fix format string error

pull/618/head
David Wilson 5 years ago
parent 2ee0e07037
commit 1e3621a88b

@ -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()

Loading…
Cancel
Save