Remove debug logging and add comment for test

This commit is contained in:
David Murphy 2023-11-17 13:36:30 -07:00 committed by Pedro Algarvio
parent cd279bd7d4
commit 71cc67d1af

View file

@ -1,10 +1,5 @@
import logging
import pytest
log = logging.getLogger(__name__)
pytestmark = [
pytest.mark.skip_unless_on_linux,
pytest.mark.skipif(
@ -15,8 +10,10 @@ pytestmark = [
def test_grains(grains):
log.warning(f"DGM test_grains '{grains}'")
"""
Test to ensure that the lsb_distrib_xxxx grains are
populated on Debian machines
"""
assert "lsb_distrib_id" in grains
assert "lsb_distrib_release" in grains
assert "lsb_distrib_codename" in grains