diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 21:46:14 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 21:46:14 +0200 |
commit | 6b0d7aa97ea1e330bfbd0361f626df845e25c875 (patch) | |
tree | 9da149c137320bbfa113167cde43548c4ab29fbe /test/py/conftest.py | |
parent | test: exclude silly tests from python_tests_valgrind (diff) | |
download | cimple-6b0d7aa97ea1e330bfbd0361f626df845e25c875.tar.gz cimple-6b0d7aa97ea1e330bfbd0361f626df845e25c875.zip |
test: minor refactoring
Diffstat (limited to '')
-rw-r--r-- | test/py/conftest.py | 10 |
1 files 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, |