(self)
| 167 | |
| 168 | class TestAliasSubcommandInjector(unittest.TestCase): |
| 169 | def setUp(self): |
| 170 | self.files = FileCreator() |
| 171 | self.alias_file = self.files.create_file('alias', '[command iam]\n') |
| 172 | self.alias_loader = AliasLoader(self.alias_file) |
| 173 | self.command_table = {} |
| 174 | self.injector = AliasSubCommandInjector(self.alias_loader) |
| 175 | self.command_object = mock.Mock(spec=CLICommand) |
| 176 | self.session = mock.Mock(spec=Session) |
| 177 | |
| 178 | def tearDown(self): |
| 179 | self.files.remove_all() |
nothing calls this directly
no test coverage detected