certbot/certbot-apache/certbot_apache
Chris Julian 2bfc92e58d #4071 Mixin to prevent setting return_value after initializing certain Mock objects (#4963)
* 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
2017-08-30 09:52:45 -07:00
..
augeas_lens Merge Augeas fix for comment line continuations 2016-06-22 10:00:31 +01:00
tests #4071 Mixin to prevent setting return_value after initializing certain Mock objects (#4963) 2017-08-30 09:52:45 -07:00
__init__.py s/Let's Encrypt/Certbot certbot-apache 2016-04-13 16:36:53 -07:00
augeas_configurator.py Make common Installer base class (#5055) 2017-08-28 17:06:09 -07:00
centos-options-ssl-apache.conf Finish work on #4718. 2017-06-01 14:35:03 -07:00
configurator.py remove outdated error message 2017-07-05 10:00:14 -04:00
constants.py Add Arch Linux constants for Apache (#4466) 2017-06-08 12:08:47 -07:00
display_ops.py Merge pull request #4814 from certbot/improve-apache-error-message 2017-07-12 07:53:36 -07:00
obj.py Add support for multivhosts in Apache 2017-05-02 15:56:55 -07:00
options-ssl-apache.conf Finish work on #4718. 2017-06-01 14:35:03 -07:00
parser.py Fix _get_runtime_cfg on Python 3 (#4262) 2017-03-18 18:06:32 -07:00
tls_sni_01.py Update outdated comment 2017-07-05 10:03:02 -04:00