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

tests/lua_loader: cleanup Python test script

This commit is contained in:
Alexandre Abadie 2020-01-08 09:46:09 +01:00
parent 9988d98929
commit 330b2b6e58
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -9,8 +9,8 @@
# Tell the lua interpreter running in riot to load some modules and print
# the value of a variable inside that module.
import os
import sys
from testrunner import run
MODULE_QUERIES = [
("m1", "a", "Quando uma lua"),
@ -31,6 +31,4 @@ def test(child):
if __name__ == "__main__":
sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner'))
from testrunner import run
sys.exit(run(test))