)]}'
{"id":"openstack%2Fpython-openstackclient~278445","triplet_id":"openstack%2Fpython-openstackclient~master~I1f05e833cdacd30915954e4220b6e1f16ac1ed40","project":"openstack/python-openstackclient","branch":"master","topic":"bug/1477199","hashtags":[],"change_id":"I1f05e833cdacd30915954e4220b6e1f16ac1ed40","subject":"Identity: Fix DisplayCommandBase comments for cliff ShowOne subclass tests","status":"MERGED","created":"2016-02-10 15:28:48.000000000","updated":"2016-02-13 06:11:39.000000000","submitted":"2016-02-13 06:11:39.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"d61be8f598f5a2b5c873570a199a87c059fac462","_number":278445,"virtual_id_number":278445,"owner":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"value":2,"date":"2016-02-13 06:11:39.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"all":[{"value":2,"date":"2016-02-13 05:15:23.000000000","_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":1,"date":"2016-02-11 13:50:21.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"all":[{"value":1,"date":"2016-02-13 05:15:23.000000000","_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-02-11 13:50:21.000000000","updated_by":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"reviewer":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"state":"REVIEWER"},{"updated":"2016-02-13 05:15:23.000000000","updated_by":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"reviewer":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"state":"REVIEWER"},{"updated":"2016-02-13 06:11:39.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"57672523798bef70c688ed0b84ad7c8271ccfa14","author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"date":"2016-02-10 15:28:48.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"4e36d327e269a230cf0840d5d29ce67af9ad284a","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-10 18:55:57.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-openstackclient-pep8 http://logs.openstack.org/45/278445/1/check/gate-python-openstackclient-pep8/b21a921/ : SUCCESS in 39s\n- gate-python-openstackclient-docs http://docs-draft.openstack.org/45/278445/1/check/gate-python-openstackclient-docs/dfd9704//doc/build/html/ : SUCCESS in 2m 10s\n- gate-python-openstackclient-python27 http://logs.openstack.org/45/278445/1/check/gate-python-openstackclient-python27/578c9fa/ : SUCCESS in 1m 18s\n- gate-python-openstackclient-python34 http://logs.openstack.org/45/278445/1/check/gate-python-openstackclient-python34/264b015/ : SUCCESS in 1m 58s\n- gate-tempest-dsvm-neutron-src-python-openstackclient http://logs.openstack.org/45/278445/1/check/gate-tempest-dsvm-neutron-src-python-openstackclient/a6fffde/ : SUCCESS in 1h 40m 43s\n- check-osc-plugins http://logs.openstack.org/45/278445/1/check/check-osc-plugins/9011c19/ : SUCCESS in 1m 10s (non-voting)\n- gate-osc-dsvm-functional http://logs.openstack.org/45/278445/1/check/gate-osc-dsvm-functional/417e8f9/ : SUCCESS in 18m 53s","accounts_in_message":[],"_revision_number":1},{"id":"7e045e08be39e4157c3ec77506f44683288f08bb","author":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"date":"2016-02-11 13:50:21.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"f80ff29ad3887f0943cb3a6f4a9bb3458a31b54b","author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"date":"2016-02-13 05:15:23.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":1},{"id":"8afcf22c727171a0bd1239feafc134a068585956","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-13 05:15:28.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":1},{"id":"de699f670cb42862ef38d7d2226bf0610da9a6a6","date":"2016-02-13 06:11:39.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":1},{"id":"9bed4d142fb8dd600ea700404859f848da948cc9","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-13 06:11:39.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-openstackclient-docs http://docs-draft.openstack.org/45/278445/1/gate/gate-python-openstackclient-docs/26c856b//doc/build/html/ : SUCCESS in 2m 10s\n- gate-python-openstackclient-pep8 http://logs.openstack.org/45/278445/1/gate/gate-python-openstackclient-pep8/9b94f83/ : SUCCESS in 55s\n- gate-python-openstackclient-python27 http://logs.openstack.org/45/278445/1/gate/gate-python-openstackclient-python27/a8c2ee8/ : SUCCESS in 1m 30s\n- gate-python-openstackclient-python34 http://logs.openstack.org/45/278445/1/gate/gate-python-openstackclient-python34/664afc4/ : SUCCESS in 2m 59s\n- gate-tempest-dsvm-neutron-src-python-openstackclient http://logs.openstack.org/45/278445/1/gate/gate-tempest-dsvm-neutron-src-python-openstackclient/6fd9a21/ : SUCCESS in 56m 10s\n- gate-osc-dsvm-functional http://logs.openstack.org/45/278445/1/gate/gate-osc-dsvm-functional/89c086f/ : SUCCESS in 19m 30s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"9f71b777ac7357c96ac7fa662ba18fa67b93baa0","revisions":{"9f71b777ac7357c96ac7fa662ba18fa67b93baa0":{"kind":"REWORK","_number":1,"created":"2016-02-10 15:28:48.000000000","uploader":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"ref":"refs/changes/45/278445/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-openstackclient","ref":"refs/changes/45/278445/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/45/278445/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/45/278445/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/45/278445/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-openstackclient refs/changes/45/278445/1"}}},"commit":{"parents":[{"commit":"d0c0cefb84b4d7abff23e7e313acd9725df1be9b","subject":"Identity: Fix DisplayCommandBase comments for cliff Lister subclass tests","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/d0c0cefb84b4d7abff23e7e313acd9725df1be9b"}]}],"author":{"name":"Tang Chen","email":"chen.tang@easystack.cn","date":"2016-02-10 15:11:58.000000000","tz":480},"committer":{"name":"Tang Chen","email":"chen.tang@easystack.cn","date":"2016-02-10 15:11:58.000000000","tz":480},"subject":"Identity: Fix DisplayCommandBase comments for cliff ShowOne subclass tests","message":"Identity: Fix DisplayCommandBase comments for cliff ShowOne subclass tests\n\nAs bug #1477199 describes, the wrong comment below is all over the\nunit test code of OSC.\n\n    # DisplayCommandBase.take_action() returns two tuples\n\nThere is no such class named DisplayCommandBase in OSC. It is in cliff.\n\nAll OSC command classes inherit from the base classes in cliff,\nclass Command, class Lister and class ShowOne. It is like this:\n\nObject\n|--\u003e Command\n     |--\u003e DisplayCommandBase\n          |--\u003e Lister\n          |--\u003e ShowOne\n\ntake_action() is an abstract method of class Command, and generally is\noverwritten by subclasses.\n* Command.take_action() returns nothing.\n* Lister.take_action() returns a tuple which contains a tuple of columns\n  and a generator used to generate the data.\n* ShowOne.take_action() returns an iterator which contains a tuple of\n  columns and a tuple of data.\n\nSo, this problem should be fixed in 3 steps:\n1. Remove all DisplayCommandBase comments for tests of classes inheriting\n   from class Command in cliff as it returns nothing.\n2. Fix all DisplayCommandBase comments for tests of classes inheriting\n   from class Lister in cliff. Lister.take_action() returns a tuple and\n   a generator.\n3. Fix all DisplayCommandBase comments for tests of classes inheriting\n   from class ShowOne in cliff. ShowOne.take_action() returns two tuples.\n\nThis patch finishes step 3 in all identity tests.\n\nChange-Id: I1f05e833cdacd30915954e4220b6e1f16ac1ed40\nCloses-bug: #1477199\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/9f71b777ac7357c96ac7fa662ba18fa67b93baa0"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/9f71b777ac7357c96ac7fa662ba18fa67b93baa0"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
