We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce27b3 commit 4919fa5Copy full SHA for 4919fa5
pyproject.toml
@@ -13,7 +13,7 @@ basic-example = "benchmarkme.examples.basic:bmrk_math"
13
14
[tool.pytest.ini_options]
15
python_files = ["*.py"]
16
-testpaths = ["tests/examples", "src"]
+testpaths = ["tests", "src"]
17
addopts = "--doctest-modules"
18
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL"
19
tests/examples/test_basic.py
@@ -1,5 +1,5 @@
1
"""Make sure the example runs without error."""
2
from subprocess import check_call
3
4
-def runok_test():
+def test_runok():
5
assert not check_call(['bash', '-c', 'basic-example'])
0 commit comments