Description of problem: It is not able search TestCase by autoproposed now. TestCase.search implements just search by 'automated' which is 0=Manual or 1=Automated. Version-Release number of selected component (if applicable): qa-tools-2.0-45
Searching in the high-level nitrate API is implemented as just calling the filter() method provided by the XMLRPC. Thus you can filter for autoproposed test cases for example in this way: > >>> for case in TestCase.search(summary__contains="Tessst", is_automated_proposed=True): print case > ... > TC#12516 - Tessst case five (manual) > TC#46490 - Tessst case one > >>> for case in TestCase.search(summary__contains="Tessst", is_automated_proposed=False): print case > ... > TC#35267 - Tessst case four > TC#51362 - Tessst case three > TC#35269 - Tessst case two However, I had a look on your patch and adjusted it with support for manual property and a couple of unit tests, so now you can achieve the same by the following code as well: > >>> for case in TestCase.search(summary__contains="Tessst"): > ... if case.autoproposed: print case > ... > TC#12516 - Tessst case five (manual) > TC#46490 - Tessst case one The code for this is present in the devel branch. Please, check whether it fits your needs and let me known if there's something missing or broken. http://fedorapeople.org/gitweb?p=psss/public_git/python-nitrate;a=commitdiff;h=890df53
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.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.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
Package python-nitrate-0.9-0.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-nitrate-0.9-0.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13721/python-nitrate-0.9-0.el6 then log in and leave karma (feedback).
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.