mirror of
https://github.com/certbot/certbot.git
synced 2026-02-12 23:33:28 -05:00
* Addressing #4071 Wrote an ImmutableReturnMixin to prevent developers overriding return_value in certain Mock objects * Language * Loosening the assumption that underlying _mock objects need to be Immutable-like simplifies implementation * Addressing #4071 * Ensure side_effects and return_values are pushed down to the underlying _mock in FreezableMocks. And IDisplay mocks are no longer frozen in _create_get_utility_mock() * Edit a handful of tests to not override the mock_get_utility return_value * Brief explainer of FreezableMock.__setattr__ * Incorporating PR feedback and some compatibility * FreezableMock __getattr__ needs a shortcut in case of return_value or side_effect * Changing return_value only forbidden if set before freezing * Remove unnecessary else block * Expanded doc strings * Bring a couple new tests in line with patch_get_utility() norms |
||
|---|---|---|
| .. | ||
| augeas_lens | ||
| tests | ||
| __init__.py | ||
| augeas_configurator.py | ||
| centos-options-ssl-apache.conf | ||
| configurator.py | ||
| constants.py | ||
| display_ops.py | ||
| obj.py | ||
| options-ssl-apache.conf | ||
| parser.py | ||
| tls_sni_01.py | ||