(self, section, key, **kwargs)
| 63 | self.is_validated = True |
| 64 | |
| 65 | def get(self, section, key, **kwargs): |
| 66 | section = str(section).lower() |
| 67 | key = str(key).lower() |
| 68 | |
| 69 | if super().has_option(section, key): |
| 70 | return expand_env_var(super().get(section, key, **kwargs)) |
| 71 | |
| 72 | if self.excalibur_defaults.has_option(section, key): |
| 73 | return expand_env_var(self.excalibur_defaults.get(section, key, **kwargs)) |
| 74 | |
| 75 | else: |
| 76 | raise ValueError( |
| 77 | "section/key [{section}/{key}] not found in" " config".format( |
| 78 | **locals() |
| 79 | ) |
| 80 | ) |
| 81 | |
| 82 | def read(self, filename): |
| 83 | super().read(filename) |
no test coverage detected