This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1LP][RFR] Add support for create and nav_away to Host.update() and t…
…est_infrastructure_hosts_crud (#10090) * Create draft of rewrite of test_infrastructure_hosts_crud to edit only single hosts * Fix flake8 issues * Reorder imports * Removing outdated BZ lable * Add from_details kwarg to host.update * Update host.update nav to support edit from hosts view * Update Host.update to support edit from hosts view * Put view.is_displayed back into Host.update() * Add support for cancel and nav_away to Host.update() and test_infrastructure_hosts_crud * Reorder import * Move pytest.fail up into test and add support for nav_away_changes * Fix missing quote in parameter list * Add explicit kwarg to host.delete and update format of random string * Remove delete from update doc block * Updated Host.update() and test_infrastructure_hosts_crud to use kwargs instead of action strings * Update nav_away and cancel kwargs in call to Hosts.update() * Added BZ to exception log msg and added details on crud_actions to docblock * Remove newline in docblock for test_infrastructure_hosts_compare * Add comments to and rearrange structure of test_infrastructure_hosts_crud for clarity and easier understanding * Add more comments and update docblock for clarity * Update kwargs and associated logic to make from_hosts the one off exception and default to from_details * Remove nav_away and changes kwargs from Host.update() * Rewrite test_infrastructure_hosts_crud to not use parameterization of actions * Set from_details default to True in Host.update() and set it to True in cancel calls in test_infrastructure_hosts_crud * Update from_details logic and remove cancel kwarg assignements to the default value * Combine multi lines into one where applicable
- Loading branch information
1 parent
c1c8e30
commit c63b987
Showing
3 changed files
with
89 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters