Skip to content

Instantly share code, notes, and snippets.

@leapp-bot
Created November 18, 2018 15:38
Show Gist options
  • Save leapp-bot/99aa2b7d19860e2a6bcdba2dd943aa60 to your computer and use it in GitHub Desktop.
Save leapp-bot/99aa2b7d19860e2a6bcdba2dd943aa60 to your computer and use it in GitHub Desktop.
build-reports
. tut/bin/activate; \
python utils/run_pytest.py --actor= --report=/tmp/test-logs/report.xml
INFO:run_pytest.py: Registering leapp repositories. This may take a while.
INFO:leapp.repository.common:A new repository 'common' is initialized at /tmp/leapp-actors/repos/common
INFO:leapp.repository.containerization:A new repository 'containerization' is initialized at /tmp/leapp-actors/repos/containerization
INFO:leapp.repository.upgrade:A new repository 'upgrade' is initialized at /tmp/leapp-actors/repos/upgrade
INFO:run_pytest.py: Running pytest with: pytest -v /tmp/leapp-actors/repos/upgrade/actors/rpmtransactionconfigtaskscollector --junit-xml=reports/rpm_transaction_config_tasks_collector0.xml
============================= test session starts ==============================
platform linux2 -- Python 2.7.5, pytest-3.6.4, py-1.7.0, pluggy-0.7.1 -- /tmp/leapp-actors/tut/bin/python2.7
cachedir: ../../../../.pytest_cache
rootdir: /tmp/leapp-actors, inifile:
plugins: ordering-0.5, leapp-0.3
collecting ... collected 2 items
repos/upgrade/actors/rpmtransactionconfigtaskscollector/tests/test_load_tasks.py::test_load_tasks PASSED [ 50%]
repos/upgrade/actors/rpmtransactionconfigtaskscollector/tests/test_load_tasks.py::test_load_tasks_file PASSED [100%]
generated xml file: /tmp/leapp-actors/reports/rpm_transaction_config_tasks_collector0.xml
=========================== 2 passed in 0.02 seconds ===========================
INFO:run_pytest.py: Running pytest with: pytest -v /tmp/leapp-actors/repos/upgrade/actors/netifacescanner --junit-xml=reports/net_iface_scanner1.xml
============================= test session starts ==============================
platform linux2 -- Python 2.7.5, pytest-3.6.4, py-1.7.0, pluggy-0.7.1 -- /tmp/leapp-actors/tut/bin/python2.7
cachedir: ../../../../.pytest_cache
rootdir: /tmp/leapp-actors, inifile:
plugins: ordering-0.5, leapp-0.3
collecting ... collected 1 item
repos/upgrade/actors/netifacescanner/tests/test_netifacescanner.py::test_actor_execution PASSED [100%]
----- generated xml file: /tmp/leapp-actors/reports/net_iface_scanner1.xml -----
=========================== 1 passed in 0.11 seconds ===========================
INFO:run_pytest.py: Running pytest with: pytest -v /tmp/leapp-actors/repos/common/actors/testactor --junit-xml=reports/test_actor2.xml
============================= test session starts ==============================
platform linux2 -- Python 2.7.5, pytest-3.6.4, py-1.7.0, pluggy-0.7.1 -- /tmp/leapp-actors/tut/bin/python2.7
cachedir: ../../../../.pytest_cache
rootdir: /tmp/leapp-actors, inifile:
plugins: ordering-0.5, leapp-0.3
collecting ... collected 2 items
repos/common/actors/testactor/tests/test_testactor.py::test <- repos/common/actors/testactor/libraries/private.py PASSED [ 50%]
repos/common/actors/testactor/tests/test_testactor.py::test_testactor PASSED [100%]
-------- generated xml file: /tmp/leapp-actors/reports/test_actor2.xml ---------
=========================== 2 passed in 0.01 seconds ===========================
INFO:run_pytest.py: Running pytest with: pytest -v /tmp/leapp-actors/repos/common/actors/augeasscanner --junit-xml=reports/augeas_scanner3.xml
============================= test session starts ==============================
platform linux2 -- Python 2.7.5, pytest-3.6.4, py-1.7.0, pluggy-0.7.1 -- /tmp/leapp-actors/tut/bin/python2.7
cachedir: ../../../../.pytest_cache
rootdir: /tmp/leapp-actors, inifile:
plugins: ordering-0.5, leapp-0.3
collecting ... collected 1 item
repos/common/actors/augeasscanner/tests/test_augeasscanner.py::test_no_input_execution PASSED [100%]
------ generated xml file: /tmp/leapp-actors/reports/augeas_scanner3.xml -------
=========================== 1 passed in 5.47 seconds ===========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment