You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self = <test_client.TestRTCClient object at 0x7fca9fe05080>
myrtcclient = <RTCClient RTC Server at http://test.url:9443/jazz>
mocker = <pytest_mock.plugin.MockFixture object at 0x7fca9fe826a0>
.tox/py36/lib/python3.6/site-packages/rtcclient/client.py:879: in listFieldsFromWorkitem
keep=keep)
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:180: in listFieldsFromWorkitem
keep=keep)
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:270: in getTemplate
self._remove_long_fields(wk_raw_data)
self = <Templater Templater for RTC Server at http://test.url:9443/jazz>
wk_raw_data = OrderedDict([('@Rdf:resource', 'http://test.url:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/161'), ('rt...://test.url:9443/jazz/oslc/workitems/161/rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.result')]))])
def _remove_long_fields(self, wk_raw_data):
"""Remove long fields: These fields are can only customized after
the workitems are created
"""
match_str_list = ["rtc_cm:com.ibm.",
"calm:"]
for key in wk_raw_data.keys():
E RuntimeError: OrderedDict mutated during iteration
self = <test_template.TestTemplater object at 0x7fca9fec79e8>
mytemplater = <Templater Templater for RTC Server at http://test.url:9443/jazz>
mocker = <pytest_mock.plugin.MockFixture object at 0x7fca9fec7278>
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:270: in getTemplate
self._remove_long_fields(wk_raw_data)
self = <Templater Templater for RTC Server at http://test.url:9443/jazz>
wk_raw_data = OrderedDict([('@Rdf:resource', 'http://test.url:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/161'), ('rt...://test.url:9443/jazz/oslc/workitems/161/rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.result')]))])
def _remove_long_fields(self, wk_raw_data):
"""Remove long fields: These fields are can only customized after
the workitems are created
"""
match_str_list = ["rtc_cm:com.ibm.",
"calm:"]
for key in wk_raw_data.keys():
E RuntimeError: OrderedDict mutated during iteration
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:354: RuntimeError
------------------------------ Captured log call -------------------------------
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
========================= 2 failed, 83 passed in 2.88s =========================
ERROR: InvocationError for command /home/afineman/work/rtcclient/.tox/py36/bin/py.test -v (exited with code 1)
___________________________________ summary ____________________________________
ERROR: py36: commands failed
The text was updated successfully, but these errors were encountered:
Running the unit tests against py36 (I don't have py33 installed), I see the following failures:
=================================== FAILURES ===================================
_________________ TestRTCClient.test_list_fields_from_workitem _________________
self = <test_client.TestRTCClient object at 0x7fca9fe05080>
myrtcclient = <RTCClient RTC Server at http://test.url:9443/jazz>
mocker = <pytest_mock.plugin.MockFixture object at 0x7fca9fe826a0>
tests/test_client.py:1435:
.tox/py36/lib/python3.6/site-packages/rtcclient/client.py:879: in listFieldsFromWorkitem
keep=keep)
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:180: in listFieldsFromWorkitem
keep=keep)
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:270: in getTemplate
self._remove_long_fields(wk_raw_data)
self = <Templater Templater for RTC Server at http://test.url:9443/jazz>
wk_raw_data = OrderedDict([('@Rdf:resource', 'http://test.url:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/161'), ('rt...://test.url:9443/jazz/oslc/workitems/161/rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.result')]))])
E RuntimeError: OrderedDict mutated during iteration
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:354: RuntimeError
_______________________ TestTemplater.test_get_template ________________________
self = <test_template.TestTemplater object at 0x7fca9fec79e8>
mytemplater = <Templater Templater for RTC Server at http://test.url:9443/jazz>
mocker = <pytest_mock.plugin.MockFixture object at 0x7fca9fec7278>
tests/test_template.py:78:
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:270: in getTemplate
self._remove_long_fields(wk_raw_data)
self = <Templater Templater for RTC Server at http://test.url:9443/jazz>
wk_raw_data = OrderedDict([('@Rdf:resource', 'http://test.url:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/161'), ('rt...://test.url:9443/jazz/oslc/workitems/161/rtc_cm:com.ibm.team.enterprise.promotion.linktype.resultWorkItem.result')]))])
E RuntimeError: OrderedDict mutated during iteration
.tox/py36/lib/python3.6/site-packages/rtcclient/template.py:354: RuntimeError
------------------------------ Captured log call -------------------------------
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
ERROR template.Templater:template.py:240 Please input a valid workitem id you want to copy from
========================= 2 failed, 83 passed in 2.88s =========================
ERROR: InvocationError for command /home/afineman/work/rtcclient/.tox/py36/bin/py.test -v (exited with code 1)
___________________________________ summary ____________________________________
ERROR: py36: commands failed
The text was updated successfully, but these errors were encountered: