summaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 5 insertions, 0 deletions
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