MCPcopy Create free account
hub / github.com/GStreamer/gst-python / _tests_suite

Function _tests_suite

testsuite/runtests.py:36–44  ·  view source on GitHub ↗

Pick which tests to run.

()

Source from the content-addressed store, hash-verified

34
35
36def _tests_suite():
37 """Pick which tests to run."""
38 testcase = os.getenv("TESTCASE")
39 if testcase:
40 testcases = [testcase]
41 else:
42 testcases = _testcases(sys.argv[1:])
43 loader = unittest.TestLoader()
44 return loader.loadTestsFromNames(testcases)
45
46
47def setup():

Callers 1

runtests.pyFile · 0.85

Calls 1

_testcasesFunction · 0.85

Tested by

no test coverage detected