Test to ensure you can dynamically create a CLI route attached to a hug API
(self)
| 194 | assert self.router.exception().route == ExceptionRouter(api=api).route |
| 195 | |
| 196 | def test_cli(self): |
| 197 | """Test to ensure you can dynamically create a CLI route attached to a hug API""" |
| 198 | assert self.router.cli().route == CLIRouter(api=api).route |
| 199 | |
| 200 | def test_object(self): |
| 201 | """Test to ensure it's possible to route objects through a specified API instance""" |