MCPcopy
hub / github.com/geldata/gel / execute

Function execute

edb/tools/inittestdb.py:51–61  ·  view source on GitHub ↗
(tests_dir, conn, num_workers, include)

Source from the content-addressed store, hash-verified

49
50
51async def execute(tests_dir, conn, num_workers, include):
52 runner = TestRunner()
53 include = [x for pat in include for x in ['-k', pat]]
54 unittest.main(
55 module=None,
56 argv=['unittest', 'discover', '-s', tests_dir, *include],
57 testRunner=runner, exit=False)
58
59 await tb.setup_test_cases(
60 runner.cases, conn, num_workers, skip_empty_databases=True
61 )
62
63
64def die(msg):

Callers 1

_inittestdbFunction · 0.70

Calls 2

mainMethod · 0.80
TestRunnerClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…