* Update targets for CI for devel branch; move some targets to stable-2.10.

* Skipping test on RHEL 8.3 (it is already skipped on RHEL 8.2).

* Linting.

* Shut 2.9/2.10 pylint complaints up.
This commit is contained in:
Felix Fontein
2021-02-11 10:24:58 +01:00
committed by GitHub
parent 9a6031ab4e
commit e9551df5ed
14 changed files with 28 additions and 29 deletions

View File

@@ -97,7 +97,7 @@ class MonitTest(unittest.TestCase):
self.monit.wait_for_monit_to_stop_pending()
@pytest.mark.parametrize('status_name', [name for name in monit.StatusValue.ALL_STATUS])
@pytest.mark.parametrize('status_name', monit.StatusValue.ALL_STATUS)
def test_status_value(status_name):
value = getattr(monit.StatusValue, status_name.upper())
status = monit.StatusValue(value)