mirror of
https://github.com/rancher/os.git
synced 2025-09-20 18:13:35 +00:00
add integration test
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import pytest
|
||||
import rancherostest.util as u
|
||||
import subprocess
|
||||
import yaml
|
||||
|
||||
|
||||
ssh_command = ['./scripts/ssh', '--qemu', '--key', './tests/integration/assets/test.key']
|
||||
@@ -13,11 +12,6 @@ def qemu(request):
|
||||
return u.run_qemu(request, ['--cloud-config', cloud_config_path])
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def cloud_config():
|
||||
return yaml.load(open(cloud_config_path))
|
||||
|
||||
|
||||
@pytest.mark.timeout(40)
|
||||
def test_reboot_with_container_running(qemu):
|
||||
assert qemu is not None
|
||||
|
Reference in New Issue
Block a user