<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Eugene,<div><br></div><div>thanks for looking into this. I just pushed my patch: <a href="https://review.openstack.org/#/c/33187/">https://review.openstack.org/#/c/33187/</a></div><div><br></div><div>Thanks!</div><div>KC</div><div><br><div><div>On Jun 25, 2013, at 9:08 PM, Eugene Nikanorov <<a href="mailto:enikanorov@mirantis.com">enikanorov@mirantis.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div style="">Can you post the code if failing test?</div><div style=""><br></div><div style="">Eugene.</div><div style=""><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 26, 2013 at 2:11 AM, Kuang-Ching Wang <span dir="ltr"><<a href="mailto:kuangching.wang@gmail.com" target="_blank">kuangching.wang@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am seeing the following error and cannot figure out why it happened and how to solve it. Any advice would be appreciated. Thanks!<br>
<br>
UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+<br>
- request.__call__('localurl/v2.0/firewall_policies.xml', 'POST', body='<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<firewall_policy xmlns="<a href="http://openstack.org/quantum/api/v2.0" target="_blank">http://openstack.org/quantum/api/v2.0</a>" xmlns:quantum="<a href="http://openstack.org/quantum/api/v2.0" target="_blank">http://openstack.org/quantum/api/v2.0</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><description>my-desc</description><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>my-tenant</tenant_id><firewall_rules_list><item>rule_id1</item></firewall_rules_list><shared quantum:type="bool">True</shared><audited quantum:type="bool">True</audited><name>my-name</name></firewall_policy>', headers={'X-Auth-Token': 'testtoken', 'Content-Type': 'application/xml', 'Accept': 'application/xml', 'User-Agent': 'python-quantumclient'}) -> None<br>
+ request.__call__('localurl/v2.0/firewall_policies.xml', 'POST', body=<?xml version='1.0' encoding='UTF-8'?><br>
<br>
+ <firewall_policy xmlns="<a href="http://openstack.org/quantum/api/v2.0" target="_blank">http://openstack.org/quantum/api/v2.0</a>" xmlns:quantum="<a href="http://openstack.org/quantum/api/v2.0" target="_blank">http://openstack.org/quantum/api/v2.0</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><tenant_id>my-tenant</tenant_id><description>my-desc</description><admin_state_up quantum:type="bool">True</admin_state_up><firewall_rules_list><item>rule_id1</item></firewall_rules_list><shared quantum:type="bool">True</shared><audited quantum:type="bool">True</audited><name>my-name</name></firewall_policy>, headers=<map containing the entry 'X-Auth-Token: testtoken'>) -> (<tests.unit.test_cli20.MyResp object at 0x3156d90>, '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<firewall_policy xmlns="<a href="http://openstack.org/quantum/api/v2.0" target="_blank">http://openstack.org/quantum/api/v2.0</a>" xmlns:quantum="<a href="http://openstack.org/quantum/api/v2.0" target="_blank">http://openstack.org/quantum/api/v2.0</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><id>myid</id><name>my-name</name></firewall_policy>')<br>
<br>
KC<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></div></body></html>