File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
"""
9
9
10
10
import datetime
11
+ import pprint
11
12
import re
12
13
from typing import List , Tuple , TypedDict
13
14
@@ -69,7 +70,9 @@ def get_board_id_list(token: str) -> List[str]:
69
70
headers = headers ,
70
71
)
71
72
try :
72
- tree_items : List [GitTreeItem ] = response .json ()["tree" ]
73
+ jj = response .json ()
74
+ pprint .pp (jj )
75
+ tree_items : List [GitTreeItem ] = jj ["tree" ]
73
76
except KeyError as err :
74
77
raise ValueError ("Could not parse JSON response, check token" ) from err
75
78
for tree_item in tree_items :
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ def test_query_board_ids(monkeypatch: pytest.MonkeyPatch) -> None:
41
41
)
42
42
43
43
result = RUNNER .invoke (cli , ["query" , "board-ids" ])
44
+ print (result .output )
44
45
assert result .exit_code == 0
45
46
assert result .output == expected_output
46
47
You can’t perform that action at this time.
0 commit comments