(self)
| 825 | self.fail(f"fail to decode stdout: {stdout!r}") |
| 826 | |
| 827 | def _get_expected_config(self): |
| 828 | cls = InitConfigTests |
| 829 | if cls.EXPECTED_CONFIG is None: |
| 830 | cls.EXPECTED_CONFIG = self._get_expected_config_impl() |
| 831 | |
| 832 | # get a copy |
| 833 | configs = {} |
| 834 | for config_key, config_value in cls.EXPECTED_CONFIG.items(): |
| 835 | config = {} |
| 836 | for key, value in config_value.items(): |
| 837 | if isinstance(value, list): |
| 838 | value = value.copy() |
| 839 | config[key] = value |
| 840 | configs[config_key] = config |
| 841 | return configs |
| 842 | |
| 843 | def get_expected_config(self, expected_preconfig, expected, |
| 844 | env, api, modify_path_cb=None): |
no test coverage detected