1
0
mirror of https://github.com/rancher/os.git synced 2025-07-12 14:18:01 +00:00
os/tests/integration/rostest/test_16_cloud_config_mounts.py
2016-06-14 15:25:56 -07:00

18 lines
413 B
Python

import pytest
import rostest.util as u
from rostest.util import SSH
cloud_config_path = './tests/integration/assets/test_16/cloud-config.yml'
@pytest.fixture(scope="module")
def qemu(request):
q = u.run_qemu(request, run_args=['--cloud-config', cloud_config_path])
u.flush_out(q.stdout)
return q
def test_cloud_config_mounts(qemu):
SSH(qemu).check_call('cat /home/rancher/test | grep test')