Commit 6c29494d authored by Robin Obůrka's avatar Robin Obůrka Committed by Robin Obůrka

tests: Fix test after exception type change in SN

parent 4cad1b3a
......@@ -15,7 +15,7 @@ def test_empty_args_native(zmq_context):
ctx = sn.SN(zmq_context)
def test_undefined_resource(zmq_context):
with pytest.raises(sn.SockConfigError):
with pytest.raises(sn.UndefinedSocketError):
ctx = sn.SN(zmq_context, args="--resource out,connect,PUSH,sentinel.cz,7700".split(" "))
assert ctx.get_socket("in")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment