diff --git a/docs/ref/beacons/all.rst b/docs/ref/beacons/all.rst deleted file mode 100644 index 23ebdd2..0000000 --- a/docs/ref/beacons/all.rst +++ /dev/null @@ -1,11 +0,0 @@ - -.. all-saltext.haproxy.beacons: - -______________ -Beacon Modules -______________ - -.. autosummary:: - :toctree: - - saltext.haproxy.beacons.haproxy diff --git a/docs/ref/beacons/all/salt.beacons.haproxy.rst b/docs/ref/beacons/all/salt.beacons.haproxy.rst deleted file mode 100644 index 07b8e6d..0000000 --- a/docs/ref/beacons/all/salt.beacons.haproxy.rst +++ /dev/null @@ -1,6 +0,0 @@ -salt.beacons.haproxy -==================== - -.. automodule:: salt.beacons.haproxy - :members: - :undoc-members: diff --git a/docs/ref/modules/all.rst b/docs/ref/modules/all.rst deleted file mode 100644 index 9f2d718..0000000 --- a/docs/ref/modules/all.rst +++ /dev/null @@ -1,12 +0,0 @@ - -.. all-saltext.haproxy.modules: - -_________________ -Execution Modules -_________________ - -.. autosummary:: - :toctree: - - saltext.haproxy.modules.haproxy_mod - saltext.haproxy.modules.haproxyconn diff --git a/docs/ref/modules/all/salt.modules.haproxyconn.rst b/docs/ref/modules/all/salt.modules.haproxyconn.rst deleted file mode 100644 index 8d2ebaf..0000000 --- a/docs/ref/modules/all/salt.modules.haproxyconn.rst +++ /dev/null @@ -1,5 +0,0 @@ -salt.modules.haproxyconn -======================== - -.. automodule:: salt.modules.haproxyconn - :members: diff --git a/docs/ref/states/all.rst b/docs/ref/states/all.rst deleted file mode 100644 index b51ae19..0000000 --- a/docs/ref/states/all.rst +++ /dev/null @@ -1,11 +0,0 @@ - -.. all-saltext.haproxy.states: - -_____________ -State Modules -_____________ - -.. autosummary:: - :toctree: - - saltext.haproxy.states.haproxy_mod diff --git a/tests/pytests/unit/beacons/test_haproxy.py b/tests/pytests/unit/beacons/test_haproxy.py index 46d6ef2..97bb307 100644 --- a/tests/pytests/unit/beacons/test_haproxy.py +++ b/tests/pytests/unit/beacons/test_haproxy.py @@ -58,4 +58,4 @@ def test_threshold_not_reached(): mock = MagicMock(return_value=50) with patch.dict(haproxy.__salt__, {"haproxy.get_sessions": mock}): ret = haproxy.beacon(config) - assert ret == [] + assert ret == [] # pylint: disable=use-implicit-booleaness-not-comparison