mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove formula tests which were always broken and not tested correctly
This commit is contained in:
parent
6a2b61e2a3
commit
038e4706df
2 changed files with 0 additions and 54 deletions
|
@ -1,24 +0,0 @@
|
|||
"""
|
||||
Tests using docker formula
|
||||
"""
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def _formula(saltstack_formula):
|
||||
with saltstack_formula(name="docker-formula", tag="2.4.2") as formula:
|
||||
yield formula
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def modules(loaders, _formula):
|
||||
return loaders.modules
|
||||
|
||||
|
||||
@pytest.mark.skip_on_windows
|
||||
@pytest.mark.destructive_test
|
||||
def test_docker_formula(modules):
|
||||
ret = modules.state.sls("docker")
|
||||
for staterun in ret:
|
||||
assert not staterun.result.failed
|
|
@ -1,30 +0,0 @@
|
|||
"""
|
||||
Tests using salt formula
|
||||
"""
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def _formula(saltstack_formula):
|
||||
with saltstack_formula(name="salt-formula", tag="1.12.0") as formula:
|
||||
yield formula
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def modules(loaders, _formula):
|
||||
return loaders.modules
|
||||
|
||||
|
||||
@pytest.mark.skip_on_windows
|
||||
@pytest.mark.destructive_test
|
||||
def test_salt_formula(modules):
|
||||
# Master Formula
|
||||
ret = modules.state.sls("salt.master")
|
||||
for staterun in ret:
|
||||
assert not staterun.result.failed
|
||||
|
||||
# Minion Formula
|
||||
ret = modules.state.sls("salt.minion")
|
||||
for staterun in ret:
|
||||
assert not staterun.result.failed
|
Loading…
Add table
Reference in a new issue