(self)
| 69 | self.assertEqual(alias_interface.get_aliases(), {}) |
| 70 | |
| 71 | def test_get_aliases(self): |
| 72 | with open(self.alias_file, 'a+') as f: |
| 73 | f.write('my-alias = my-alias-value') |
| 74 | alias_interface = AliasLoader(self.alias_file) |
| 75 | self.assertEqual( |
| 76 | alias_interface.get_aliases(), {'my-alias': 'my-alias-value'} |
| 77 | ) |
| 78 | |
| 79 | def test_get_aliases_with_alias_that_includes_parameter(self): |
| 80 | with open(self.alias_file, 'a+') as f: |
nothing calls this directly
no test coverage detected