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

Function context

backend/python/plugins/azuredevops/tests/streams_test.py:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24@pytest.fixture
25def context():
26 return (
27 ContextBuilder(AzureDevOpsPlugin())
28 .with_connection(token='token')
29 .with_scope_config(deployment_pattern='deploy',
30 production_pattern='prod')
31 .with_scope('johndoe/test-repo', url='https://github.com/johndoe/test-repo')
32 .build()
33 )
34
35
36def test_builds_stream(context):

Callers

nothing calls this directly

Calls 6

ContextBuilderClass · 0.90
AzureDevOpsPluginClass · 0.90
buildMethod · 0.80
with_scopeMethod · 0.80
with_scope_configMethod · 0.80
with_connectionMethod · 0.80

Tested by

no test coverage detected