(self)
| 302 | assert app.value == "cli" |
| 303 | |
| 304 | def test_cli_allow_none(self): |
| 305 | class App(Application): |
| 306 | aliases = {"opt": "App.opt"} |
| 307 | opt = Unicode(allow_none=True, config=True) |
| 308 | |
| 309 | app = App() |
| 310 | app.parse_command_line(["--opt=None"]) |
| 311 | assert app.opt is None |
| 312 | |
| 313 | def test_flags(self): |
| 314 | app = MyApp() |
nothing calls this directly
no test coverage detected