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:
parent
2683bb264b
commit
e31e8f504b
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user