diff --git a/molecule/alternative/tests/test_minio.py b/molecule/alternative/tests/test_minio.py index d09f8d8..142a110 100644 --- a/molecule/alternative/tests/test_minio.py +++ b/molecule/alternative/tests/test_minio.py @@ -42,3 +42,8 @@ def test_minio_service(Service): s = Service('minio') assert s.is_running assert s.is_enabled + + +def test_capabilities(host): + service_file = host.file("/etc/systemd/system/minio.service") + assert service_file.contains("AmbientCapabilities=CAP_NET_BIND_SERVICE")