JSON Output for RBTools Post Command

Review Request #11560 — Created March 28, 2021 and submitted

ryankang
RBTools
master
11521
rbtools, students

Depends on JSON output object from r#11521. Output from Post's
review request id and review request url is added to json object.
Any errors from Post command are added to errors list.

Ran all tests in rbtools/commands/tests and passed them all.

All tests of JSONOutput are included in r#11521

Summary
added review_request and review_request_url from post.py
Added errors to error key
Removed setting status in post.py because it is handled in __init__.py
Indentation errors fixed in post.py to align multiline strings
Description From Last Updated

E127 continuation line over-indented for visual indent

reviewbotreviewbot

E128 continuation line under-indented for visual indent

reviewbotreviewbot
ryankang
ryankang
Review request changed

Summary:

-[WIP] JSON Output for RBTools Post Command
+JSON Output for RBTools Post Command

Commits:

Summary
-
added review_request and review_request_url from post.py
-
Added errors to error key
+
added review_request and review_request_url from post.py
+
Added errors to error key
+
Removed setting status in post.py because it is handled in __init__.py

Depends On:

+11521 - JSON wrapper which inputs to a dictionary and outputs a JSON object

Groups:

+students

Diff:

Revision 3 (+29 -3)

Show changes

Checks run (1 failed, 1 succeeded)

flake8 failed.
JSHint passed.

flake8

ryankang
ryankang
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (3bc6ce8)
Loading...