MCPcopy Create free account
hub / github.com/DedalusProject/dedalus / test

Function test

dedalus/tests/__init__.py:18–24  ·  view source on GitHub ↗

Run tests.

(report=False)

Source from the content-addressed store, hash-verified

16 return ignore_options + xdist_options
17
18def test(report=False):
19 """Run tests."""
20 cmd = base_cmd()
21 cmd.extend(["--benchmark-disable"])
22 if report:
23 cmd.append("--junitxml=dedalus-test-junit.xml")
24 return pytest.main(cmd + [testpath])
25
26def bench():
27 """Run benchmarks."""

Callers 1

__main__.pyFile · 0.90

Calls 1

base_cmdFunction · 0.85

Tested by

no test coverage detected