mirror of
https://github.com/certbot/certbot.git
synced 2026-02-14 00:03:23 -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 |
||
|---|---|---|
| .. | ||
| apache-conf-files | ||
| testdata | ||
| __init__.py | ||
| augeas_configurator_test.py | ||
| complex_parsing_test.py | ||
| configurator_test.py | ||
| constants_test.py | ||
| display_ops_test.py | ||
| obj_test.py | ||
| parser_test.py | ||
| tls_sni_01_test.py | ||
| util.py | ||