Fully finish the package test

This commit is contained in:
MKLeb 2023-03-22 14:35:44 -04:00
parent 488619d814
commit fb989bc761

View file

@ -9,9 +9,10 @@ pytestmark = [
log = logging.getLogger(__name__)
def test_check_imports(salt_call_cli):
def test_check_no_import_error(salt_call_cli):
"""
Test imports
Test that we don't have any errors on teardown of python when using a py-rendered sls file
"""
output = salt_call_cli.run("state.apply", "breaks", "--output-diff", "test=true")
print(output)
log.debug(output.stderr)
assert not output.stderr