From e31e8f504b0fce076532b5022ed503f359bee768 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 7 Jan 2021 18:46:22 +0100 Subject: [PATCH] tests/pbkdf2: clean python test script The testrunner module path is already added the PYTHONPATH, so can be imported like a regular module --- tests/pbkdf2/tests/test_base.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/pbkdf2/tests/test_base.py b/tests/pbkdf2/tests/test_base.py index b7ceced0f4..29aec8ebaf 100644 --- a/tests/pbkdf2/tests/test_base.py +++ b/tests/pbkdf2/tests/test_base.py @@ -6,11 +6,12 @@ # # Author: Juan Carrano -import os import sys import base64 from functools import partial +from testrunner import run + MAX_LINE = 128 @@ -40,6 +41,4 @@ def test(vectors, child): def main(vectors): - sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner')) - from testrunner import run sys.exit(run(partial(test, vectors)))