From 6b0d7aa97ea1e330bfbd0361f626df845e25c875 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 18 Jul 2023 21:46:14 +0200 Subject: test: minor refactoring --- test/py/conftest.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/py/conftest.py b/test/py/conftest.py index db3f0b8..274c419 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -49,19 +49,13 @@ BINARY_PARAMS = [ ParamBinary(name) for name in ('server', 'worker', 'client', 'sigsegv') ] +PARAM_VERSION = Param('project_version', 'project version') + PARAM_VALGRIND = ParamBinary('valgrind', required=False) PARAM_FLAME_GRAPH = ParamBinary('flame_graph', required=False) PARAM_FLAME_GRAPHS_DIR = Param('flame_graphs_dir', 'directory to store flame graphs', required=False) - -class ParamVersion(Param): - def __init__(self): - super().__init__('project_version', 'project version') - - -PARAM_VERSION = ParamVersion() - PARAMS = list(BINARY_PARAMS) PARAMS += [ PARAM_VALGRIND, -- cgit v1.2.3