Test to check for passing of dunder globals outside of execution modules

This commit is contained in:
David Murphy 2023-04-25 18:25:03 -06:00 committed by Gareth J. Greenaway
parent b78d771454
commit e25da80c7e

View file

@ -1,12 +1,8 @@
"""
Tests for payload
"""
import logging
import pytest
log = logging.getLogger(__name__)
@pytest.mark.slow_test
@pytest.mark.skip_if_not_root
@ -38,5 +34,4 @@ def test_payload_no_exception(salt_cli, salt_master, salt_minion):
pillar={"hostname": "test"},
minion_tgt=salt_minion.id,
)
log.warning(f"DGM output '{ret}'")
## assert not ret.stdout.startswith("Authentication failure")
assert "AttributeError:" not in ret.stdout