(self)
| 234 | self.assertEqual(flags.hello, "world") |
| 235 | |
| 236 | def testSubcommand_ExitCode(self): |
| 237 | tb = program.TensorBoard( |
| 238 | plugins=[core_plugin.CorePluginLoader], |
| 239 | assets_zip_provider=fake_asset_provider, |
| 240 | subcommands=[_TestSubcommand()], |
| 241 | ) |
| 242 | _TestSubcommand.run.return_value = 77 |
| 243 | tb.configure(("tb", "test")) |
| 244 | self.assertEqual(tb.main(), 77) |
| 245 | |
| 246 | def testSubcommand_DoesNotInheritBaseArgs(self): |
| 247 | tb = program.TensorBoard( |
nothing calls this directly
no test coverage detected