Hi, see differences in output of two commands in python shell $ nitrate >>> test="/CoreOS/net-snmp/Regression/bz714976-usr-share-snmp-mibs-index-is-a-cache-file-and-should-be-marked-as-such" >>> TestCase.search(script=test, is_automated=True) [] >>> [x for x in TestCase.search(script=test) if x.automated==True] [TestCase(120838)] it is caused by TCMS automated string. this case contains checked both automated and manual, what causes inconsistent troubles with datatypes, x.automated is set to True in testcase, but it is unable to search to is_automated, because for example in TCMS webpages it is marked with strig "Both" It is somehow solvable? Thanks&Regards Honza
Unfortunately the mapping between xmlrpc (database layout) and python-nitrate attributes is not 1:1. There are some differences like the attributes related to automated/manual. For this case the mapping looks like this (extracted from the code): if automated and manual: hash["is_automated"] = 2 elif automated: hash["is_automated"] = 1 else: hash["is_automated"] = 0 I tried to resolve this particular case by mapping "manual" and "automated" to appropriate is_automated values: https://github.com/psss/python-nitrate/commit/3de5e45e575400474 So now it's possible to perform the following searches: >>> TestCase.search(automated=True) >>> TestCase.search(automated=True, manual=False) Hope this helps.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
Latest packages for testing available in the copr repository: https://copr.fedorainfracloud.org/coprs/psss/python-nitrate/
python-nitrate-1.3-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-687d19409b
python-nitrate-1.3-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2bb9364c32
python-nitrate-1.3-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7474e957a9
python-nitrate-1.3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-35a106d076
python-nitrate-1.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
python-nitrate-1.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
python-nitrate-1.3-1.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-1.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.