(self)
| 270 | self.files.remove_all() |
| 271 | |
| 272 | def test_service_alias_command(self): |
| 273 | with open(self.alias_file, 'a+') as f: |
| 274 | f.write('my-alias = my-alias-value\n') |
| 275 | |
| 276 | self.alias_cmd_injector.inject_aliases(self.command_table, self.parser) |
| 277 | self.assertIn('my-alias', self.command_table) |
| 278 | self.assertIsInstance( |
| 279 | self.command_table['my-alias'], ServiceAliasCommand |
| 280 | ) |
| 281 | |
| 282 | def test_external_alias_command(self): |
| 283 | with open(self.alias_file, 'a+') as f: |
nothing calls this directly
no test coverage detected