MCPcopy Create free account
hub / github.com/apache/devlake / make_context

Function make_context

backend/python/pydevlake/pydevlake/testing/testing.py:57–63  ·  view source on GitHub ↗
(connection, scope, scope_config)

Source from the content-addressed store, hash-verified

55
56
57def make_context(connection, scope, scope_config):
58 return Context(
59 engine=create_engine('sqlite:///:memory:'),
60 scope=scope,
61 connection=connection,
62 scope_config=scope_config
63 )
64
65
66def assert_stream_convert(plugin: Union[Plugin, Type[Plugin]], stream_name: str,

Callers 2

buildMethod · 0.85
assert_stream_runFunction · 0.85

Calls 1

ContextClass · 0.90

Tested by

no test coverage detected