Example #1
0
def test_rancher_environment(qemu, cloud_config):
    v = SSH(qemu, ssh_command).check_output('''
sudo ros env printenv FLANNEL_NETWORK
    '''.strip())

    assert v.strip(
    ) == cloud_config['rancher']['environment']['FLANNEL_NETWORK']
Example #2
0
def test_rancher_environment(qemu, cloud_config):
    v = SSH(qemu, ssh_command).check_output('''
sudo ros env printenv FLANNEL_NETWORK
    '''.strip())

    assert v.strip() == cloud_config['rancher']['environment']['FLANNEL_NETWORK']