(self)
| 150 | |
| 151 | class LegacyPlugin: |
| 152 | def info(self): |
| 153 | nonlocal info_called |
| 154 | info_called = True |
| 155 | return { |
| 156 | "name": TEST_PLUGIN_NAME, |
| 157 | "repo": TEST_PLUGIN_REPO, |
| 158 | "version": "1.0.0", |
| 159 | "author": "AstrBot Team", |
| 160 | "desc": "Legacy plugin", |
| 161 | } |
| 162 | |
| 163 | loaded_metadata = PluginManager._load_plugin_metadata( |
| 164 | str(plugin_path), |
no outgoing calls
no test coverage detected