mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Remove debug logging and add comment for test
This commit is contained in:
parent
cd279bd7d4
commit
71cc67d1af
1 changed files with 4 additions and 7 deletions
|
@ -1,10 +1,5 @@
|
||||||
import logging
|
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
pytestmark = [
|
pytestmark = [
|
||||||
pytest.mark.skip_unless_on_linux,
|
pytest.mark.skip_unless_on_linux,
|
||||||
pytest.mark.skipif(
|
pytest.mark.skipif(
|
||||||
|
@ -15,8 +10,10 @@ pytestmark = [
|
||||||
|
|
||||||
|
|
||||||
def test_grains(grains):
|
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_id" in grains
|
||||||
assert "lsb_distrib_release" in grains
|
assert "lsb_distrib_release" in grains
|
||||||
assert "lsb_distrib_codename" in grains
|
assert "lsb_distrib_codename" in grains
|
||||||
|
|
Loading…
Add table
Reference in a new issue