aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/py/conftest.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/py/conftest.py b/test/py/conftest.py
index 54ef444..9bacab4 100644
--- a/test/py/conftest.py
+++ b/test/py/conftest.py
@@ -3,6 +3,7 @@
# For details, see https://github.com/egor-tensin/cimple.
# Distributed under the MIT License.
+from collections import namedtuple
import logging
import os
@@ -220,12 +221,7 @@ def stress_test_repo(repo_path, paths, request):
return _make_repo(repo_path, paths, request.param)
-class Env:
- def __init__(self, server, workers, client, db):
- self.server = server
- self.workers = workers
- self.client = client
- self.db = db
+Env = namedtuple('Env', ['server', 'workers', 'client', 'db'])
@fixture