MCPcopy
hub / github.com/questdb/questdb / main

Function main

compat/src/test/python/runner_asyncpg.py:174–187  ·  view source on GitHub ↗
(yaml_file)

Source from the content-addressed store, hash-verified

172
173
174async def main(yaml_file):
175 data = load_yaml(yaml_file)
176 global_variables = data.get('variables', {})
177 tests = data.get('tests', [])
178
179 for test in tests:
180 iterations = test.get('iterations', 50)
181 exclusions = test.get('exclude', [])
182 if 'asyncpg' in exclusions:
183 print(f"Skipping test '{test['name']}' because it is excluded for asyncpg.")
184 continue
185 for _ in range(iterations):
186 print(f"Running test '{test['name']}' (iteration {_ + 1})")
187 await run_test(test, global_variables)
188
189
190if __name__ == '__main__':

Callers 1

runner_asyncpg.pyFile · 0.70

Calls 3

load_yamlFunction · 0.85
run_testFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…