MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / test_proxy_plugin

Function test_proxy_plugin

tests/test_plugins.py:147–158  ·  view source on GitHub ↗

Test proxy plugin module

()

Source from the content-addressed store, hash-verified

145
146
147def test_proxy_plugin():
148 """Test proxy plugin module"""
149 import optillm.plugins.proxy_plugin as plugin
150 assert hasattr(plugin, 'run')
151 assert hasattr(plugin, 'SLUG')
152 assert plugin.SLUG == "proxy"
153
154 # Test proxy submodules can be imported
155 from optillm.plugins.proxy import client, config, approach_handler
156 assert client is not None
157 assert config is not None
158 assert approach_handler is not None
159
160
161def test_proxy_plugin_token_counts():

Callers 1

test_plugins.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected