"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/pytests/integration/proxy/test_simple.py" between
salt-3002.1.tar.gz and salt-3002.2.tar.gz

About: SaltStack is a systems management software for data center automation, cloud orchestration, server provisioning, configuration management and more. Community version.

test_simple.py  (salt-3002.1):test_simple.py  (salt-3002.2)
""" """
Simple Smoke Tests for Connected Proxy Minion Simple Smoke Tests for Connected Proxy Minion
""" """
import os
import pytest
from tests.support.helpers import slowTest from tests.support.helpers import slowTest
@pytest.fixture(scope="module")
def salt_proxy(salt_proxy):
cachefile = os.path.join(salt_proxy.config["cachedir"], "dummy-proxy.cache")
if os.path.exists(cachefile):
os.unlink(cachefile)
return salt_proxy
def test_can_it_ping(salt_cli, salt_proxy): def test_can_it_ping(salt_cli, salt_proxy):
""" """
Ensure the proxy can ping Ensure the proxy can ping
""" """
ret = salt_cli.run("test.ping", minion_tgt=salt_proxy.id) ret = salt_cli.run("test.ping", minion_tgt=salt_proxy.id)
assert ret.json is True assert ret.json is True
def test_list_pkgs(salt_cli, salt_proxy): def test_list_pkgs(salt_cli, salt_proxy):
""" """
Package test 1, really just tests that the virtual function capability Package test 1, really just tests that the virtual function capability
 End of changes. 3 change blocks. 
0 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)