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

Function assert_valid_plugin

backend/python/pydevlake/pydevlake/testing/testing.py:192–198  ·  view source on GitHub ↗
(plugin: Plugin)

Source from the content-addressed store, hash-verified

190
191
192def assert_valid_plugin(plugin: Plugin):
193 assert_valid_name(plugin)
194 assert_valid_description(plugin)
195 assert_valid_connection_type(plugin)
196 assert_valid_tool_scope_type(plugin)
197 assert_valid_scope_config_type(plugin)
198 assert_valid_streams(plugin)
199
200
201def assert_plugin_run(plugin: Plugin, connection: Connection, scope_config: Optional[ScopeConfig] = None):

Callers 2

test_valid_pluginFunction · 0.90
assert_plugin_runFunction · 0.85

Calls 6

assert_valid_nameFunction · 0.85
assert_valid_descriptionFunction · 0.85
assert_valid_streamsFunction · 0.85

Tested by

no test coverage detected