1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tests/pbkdf2: clean python test script

The testrunner module path is already added the PYTHONPATH, so can be imported like a regular module
This commit is contained in:
Alexandre Abadie 2021-01-07 18:46:22 +01:00
parent 2683bb264b
commit e31e8f504b
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -6,11 +6,12 @@
#
# Author: Juan Carrano <j.carrano@fu-berlin.de>
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)))