(self)
| 280 | ) |
| 281 | |
| 282 | def test_external_alias_command(self): |
| 283 | with open(self.alias_file, 'a+') as f: |
| 284 | f.write('my-alias = !my-alias-value\n') |
| 285 | |
| 286 | self.alias_cmd_injector.inject_aliases(self.command_table, self.parser) |
| 287 | self.assertIn('my-alias', self.command_table) |
| 288 | self.assertIsInstance( |
| 289 | self.command_table['my-alias'], ExternalAliasCommand |
| 290 | ) |
| 291 | |
| 292 | def test_clobbers_builtins(self): |
| 293 | builtin_cmd = mock.Mock(spec=CLICommand) |
nothing calls this directly
no test coverage detected