Test proxy plugin module
()
| 145 | |
| 146 | |
| 147 | def 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 | |
| 161 | def test_proxy_plugin_token_counts(): |