(self)
| 933 | """Tests for Runner with plugins.""" |
| 934 | |
| 935 | def setup_method(self): |
| 936 | self.plugin = MockPlugin() |
| 937 | self.session_service = InMemorySessionService() |
| 938 | self.artifact_service = InMemoryArtifactService() |
| 939 | self.root_agent = MockLlmAgent("root_agent") |
| 940 | self.runner = Runner( |
| 941 | app_name="test_app", |
| 942 | agent=MockLlmAgent("test_agent"), |
| 943 | session_service=self.session_service, |
| 944 | artifact_service=self.artifact_service, |
| 945 | plugins=[self.plugin], |
| 946 | ) |
| 947 | |
| 948 | async def run_test(self, original_user_input="Hello") -> list[Event]: |
| 949 | """Prepares the test by creating a session and running the runner.""" |
nothing calls this directly
no test coverage detected