This repository was archived by the owner on Apr 7, 2022. It is now read-only.
Commit c63b987
authored
[1LP][RFR] Add support for create and nav_away to Host.update() and test_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 applicable1 parent c1c8e30 commit c63b987
File tree
3 files changed
+89
-17
lines changed- cfme
- common
- infrastructure
- tests/infrastructure
3 files changed
+89
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
140 | | - | |
| 144 | + | |
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| 466 | + | |
| 467 | + | |
465 | 468 | | |
466 | 469 | | |
467 | 470 | | |
| |||
487 | 490 | | |
488 | 491 | | |
489 | 492 | | |
| 493 | + | |
490 | 494 | | |
491 | 495 | | |
492 | 496 | | |
| |||
526 | 530 | | |
527 | 531 | | |
528 | 532 | | |
529 | | - | |
530 | | - | |
| 533 | + | |
| 534 | + | |
531 | 535 | | |
532 | 536 | | |
533 | 537 | | |
534 | 538 | | |
535 | 539 | | |
536 | 540 | | |
| 541 | + | |
| 542 | + | |
537 | 543 | | |
538 | 544 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | 545 | | |
543 | | - | |
544 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
545 | 581 | | |
546 | | - | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
547 | 596 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
0 commit comments