Description of problem: Quite often it's useful to iterate through test plan children, for example checking each release plan of a general test plan which is set as the parent. Version-Release number of selected component (if applicable): python-nitrate-0.9-0.el6.noarch Expected results: for plan in TestPlan(123).children: print plan
Note: This should be implemented like other containers, that is allowing to add() and remove() child test plans.
In addition, TestPlan.descendants() method with optional parameter for specifying the depth could also be useful to get all test plan descendants. TestPlan.descendants() ... all descendants TestPlan.descendants(0) ... all descendants TestPlan.descendants(1) ... children TestPlan.descendants(2) ... grandchildren
New property TestPlan.children implemented. For now only supports read access and adding children. Removing does not work because of bug 885232. Will fix remove() once this bug is resolved. https://github.com/psss/python-nitrate/commit/758c92d
python-nitrate-0.9-0.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-nitrate-0.9-0.el6
python-nitrate-0.9-0.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/python-nitrate-0.9-0.fc16
python-nitrate-0.9-0.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-nitrate-0.9-0.fc18
python-nitrate-0.9-0.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-nitrate-0.9-0.fc17
python-nitrate-0.9-0.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13721/python-nitrate-0.9-0.el6
python-nitrate-0.9-0.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
python-nitrate-0.9-0.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
python-nitrate-0.9-0.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
python-nitrate-0.9-0.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.