Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UI REX tests #5753

Merged
merged 1 commit into from
Jan 5, 2018
Merged

Fix UI REX tests #5753

merged 1 commit into from
Jan 5, 2018

Conversation

abalakh
Copy link
Contributor

@abalakh abalakh commented Jan 4, 2018

Depends on SatelliteQE/nailgun#477
Test results:

pytest -v tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase
============================= test session starts ==============================
platform darwin -- Python 2.7.13, pytest-3.2.3, py-1.5.2, pluggy-0.4.0 -- /Users/andrii/workspace/env/bin/python
cachedir: .cache
shared_function enabled - OFF - scope:  - storage: file
rootdir: /Users/andrii/workspace/robottelo, inifile:
plugins: xdist-1.20.1, services-1.2.1, mock-1.6.3, forked-0.2, cov-2.5.1
collected 8 items
2018-01-04 15:32:21 - conftest - DEBUG - BZ deselect is disabled in settings


tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_custom_job_template_by_ip PASSED
tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_default_job_template <- ../env/lib/python2.7/site-packages/unittest2/case.py SKIPPED
tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_default_job_template_by_ip PASSED
tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_job_against_multiple_provisioned_hosts <- ../env/lib/python2.7/site-packages/unittest2/case.py SKIPPED
tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_job_against_provisioned_rhel6_host <- ../env/lib/python2.7/site-packages/unittest2/case.py SKIPPED
tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_job_against_provisioned_rhel7_host <- ../env/lib/python2.7/site-packages/unittest2/case.py SKIPPED
tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_job_template_multiple_hosts_by_ip PASSED
tests/foreman/ui/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_scheduled_job_template_by_ip PASSED

==================== 4 passed, 4 skipped in 864.66 seconds =====================

Random cli test to make sure no regression introduced:

pytest -v tests/foreman/cli/test_remoteexecution.py -k test_positive_run_default_job_template_by_ip
============================= test session starts ==============================
platform darwin -- Python 2.7.13, pytest-3.2.3, py-1.5.2, pluggy-0.4.0 -- /Users/andrii/workspace/env/bin/python
cachedir: .cache
shared_function enabled - OFF - scope:  - storage: file
rootdir: /Users/andrii/workspace/robottelo, inifile:
plugins: xdist-1.20.1, services-1.2.1, mock-1.6.3, forked-0.2, cov-2.5.1
collected 23 items
2018-01-04 16:08:39 - conftest - DEBUG - BZ deselect is disabled in settings


tests/foreman/cli/test_remoteexecution.py::RemoteExecutionTestCase::test_positive_run_default_job_template_by_ip PASSED

============================= 22 tests deselected ==============================
================== 1 passed, 22 deselected in 126.21 seconds ===================

@abalakh abalakh added 6.3 CLI Issues and PRs involving the CLI TestFailure Issues and PRs related to a test failing in automation UI Issues and PRs involving the UI labels Jan 4, 2018
@abalakh abalakh self-assigned this Jan 4, 2018
@abalakh abalakh added TestFailure Issues and PRs related to a test failing in automation and removed TestFailure Issues and PRs related to a test failing in automation labels Jan 4, 2018
@codecov
Copy link

codecov bot commented Jan 5, 2018

Codecov Report

Merging #5753 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5753   +/-   ##
=======================================
  Coverage   64.62%   64.62%           
=======================================
  Files          39       39           
  Lines        4091     4091           
=======================================
  Hits         2644     2644           
  Misses       1447     1447

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 629e18e...8003973. Read the comment docs.

Copy link
Contributor

@ldjebran ldjebran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

Copy link
Contributor

@odovzhenko odovzhenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@odovzhenko odovzhenko merged commit d48b7c6 into SatelliteQE:master Jan 5, 2018
@rplevka
Copy link
Member

rplevka commented Jan 18, 2018

img
A sad dog watching you not backporting to 6.2.z

@abalakh
Copy link
Contributor Author

abalakh commented Jan 18, 2018

@rplevka haha. let me please that dog then 😄

@abalakh abalakh deleted the fix_rex branch January 18, 2018 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Issues and PRs involving the CLI TestFailure Issues and PRs related to a test failing in automation UI Issues and PRs involving the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants