From 5a75937b9a7a34674c736c878645e5bb7a4f412d Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 26 Jul 2020 23:04:03 -0500 Subject: Add test for `Client` --- tests/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/conftest.py') diff --git a/tests/conftest.py b/tests/conftest.py index 82c635a..4529cd7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,3 +19,8 @@ def mock_connection(mock_socket): @pytest.fixture def mock_client(mock_connection): return Client(connection=mock_connection) + + +@pytest.fixture +def mock_client_and_connection(mock_connection): + return Client(connection=mock_connection), mock_connection -- cgit v1.2.3