diff options
author | Joona Hoikkala <joohoi@users.noreply.github.com> | 2019-11-01 20:51:21 +0300 |
---|---|---|
committer | Brad Warren <bmw@users.noreply.github.com> | 2019-11-01 20:51:21 +0300 |
commit | fb1aafb5d26aa25f0dcbc4884c51b5aa08b0b6bd (patch) | |
tree | 14d56be5f610ac5fb978a9c50900e93dd90457e5 /pytest.ini | |
parent | f8ff881d23e24299276a4ec7275b66763ee703df (diff) |
Use distro library for all OS version detection (#7467)
This pull request ensures that we use distro package in all the distribution version detection. It also replaces the custom systemd /etc/os-release parsing and adds a few version fingerprints to Apache override selection.
Fixes: #7405
* Revert "Try to use platform.linux_distribution() before distro equivalent (#7403)"
This reverts commit ca3077d0347aae12163a43bf74a0c8321284367e.
* Use distro for all os detection code
* Address review comments
* Add changelog entry
* Added tests
* Fix tests to return a consistent os name
* Do not crash on non-linux systems
* Minor fixes to distro compatibility checks
* Make the tests OS independent
* Update certbot/util.py
Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>
* Skip linux specific tests on other platforms
* Test fixes
* Better test state handling
* Lower the coverage target for Windows tests
Diffstat (limited to 'pytest.ini')
-rw-r--r-- | pytest.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini index 27a0f2b74..12b081b0e 100644 --- a/pytest.ini +++ b/pytest.ini @@ -18,3 +18,4 @@ filterwarnings = ignore:.*collections\.abc:DeprecationWarning ignore:The `color_scheme` argument is deprecated:DeprecationWarning:IPython.* ignore:.*view_config_changes:DeprecationWarning + ignore:.*get_systemd_os_info:DeprecationWarning |