From 09c993216aa671262f79071bf85bca210c3bfc3a Mon Sep 17 00:00:00 2001 From: Shiz Date: Sun, 16 Mar 2014 15:47:00 +0100 Subject: [PATCH] tests: Fix MockConnection tests not passing host/port. --- tests/test__mocks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test__mocks.py b/tests/test__mocks.py index be4462e..cd1b749 100644 --- a/tests/test__mocks.py +++ b/tests/test__mocks.py @@ -63,7 +63,7 @@ def test_mock_client_receive(server, client): @mark.meta def test_mock_connection_connect(): serv = Mock() - conn = MockConnection(mock_server=serv) + conn = MockConnection('mock.local', port=1337, mock_server=serv) conn.connect() assert conn.connected @@ -72,7 +72,7 @@ def test_mock_connection_connect(): @mark.meta def test_mock_connection_disconnect(): serv = Mock() - conn = MockConnection(mock_server=serv) + conn = MockConnection('mock.local', port=1337, mock_server=serv) conn.connect() conn.disconnect()