Skip to content

Commit a0fce23

Browse files
author
Nils Bars
committed
Remove run_tests from public API
Users should not call run_tests() directly in their submission_tests files. The task.py script handles calling it after loading the module. By not exporting run_tests from the package, users will get an ImportError if they try to use it incorrectly.
1 parent b55b4dc commit a0fce23

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ref_utils/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"submission_test",
2525
"add_environment_test",
2626
"add_submission_test",
27-
"run_tests",
2827
# Process
2928
"drop_privileges",
3029
"run",
@@ -55,7 +54,6 @@
5554
add_environment_test,
5655
add_submission_test,
5756
environment_test,
58-
run_tests,
5957
submission_test,
6058
)
6159
from .process import (

0 commit comments

Comments
 (0)