test_19_lenient_service_parsing.py 456 B

12345678910111213141516171819
  1. import time
  2. import pytest
  3. import rostest.util as u
  4. from rostest.util import SSH
  5. cloud_config_path = './tests/integration/assets/test_19/cloud-config.yml'
  6. @pytest.fixture(scope="module")
  7. def qemu(request):
  8. q = u.run_qemu(request, run_args=['--cloud-config', cloud_config_path])
  9. u.flush_out(q.stdout)
  10. return q
  11. def test_lenient_service_parsing(qemu):
  12. time.sleep(5)
  13. SSH(qemu).check_call("sudo system-docker ps -a | grep test-parsing")