Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR][NOTEST]Vm name enhancement #9850

Merged
merged 1 commit into from
Jan 17, 2020

Conversation

kedark3
Copy link
Contributor

@kedark3 kedark3 commented Jan 16, 2020

Purpose or Intent

  • Enhancement to replace one off fixtures and create_on_provider calls with create_vm fixture.

NO PRT RUN. Will run in Jenkins.

@kedark3 kedark3 force-pushed the vm_name_enhancement branch 2 times, most recently from c5e243e to efac4e0 Compare January 16, 2020 20:42
@dajoRH dajoRH added the lint-ok label Jan 16, 2020
@dajoRH
Copy link
Contributor

dajoRH commented Jan 16, 2020

I detected some fixture changes in commit 6bdb1ba

The local fixture ansible_linked_vm_action is used in the following files:

  • cfme/tests/ansible/test_embedded_ansible_services.py
    • ansible_policy_linked_vm

The local fixture ansible_policy_linked_vm is used in the following files:

  • cfme/tests/ansible/test_embedded_ansible_services.py

Please, consider creating a PRT run to make sure your fixture changes do not break existing usage 😃

Copy link
Member

@ganeshhubale ganeshhubale left a comment

Choose a reason for hiding this comment

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

LGTM :)

policy = appliance.collections.policies.create(
VMControlPolicy,
fauxfactory.gen_alpha(15, start="policy_"),
scope="fill_field(VM and Instance : Name, INCLUDES, {})".format(new_vm.name),
scope="fill_field(VM and Instance : Name, INCLUDES, {})".format(create_vm.name),
)
Copy link
Member

Choose a reason for hiding this comment

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

optional: I would have used fstring here

Copy link
Contributor

@john-dupuy john-dupuy left a comment

Choose a reason for hiding this comment

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

I am not seeing any test failures related to the changes here in the Jenkins run, so LGTM 👍

@john-dupuy john-dupuy changed the title [RFR][NOTEST]Vm name enhancement [1LP][RFR][NOTEST]Vm name enhancement Jan 17, 2020
@john-dupuy
Copy link
Contributor

john-dupuy commented Jan 17, 2020

I think before merge we should do a Jenkins run without --composite-uncollect for this and #9851. Thoughts @jawatts?

@jawatts
Copy link
Contributor

jawatts commented Jan 17, 2020

@john-dupuy agree

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants