File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 3838 "web_url" : " https://gitlab.com/vchrombie"
3939 }
4040 },
41- {
42- "awardable_id" : 32985061 ,
43- "awardable_type" : " Issue" ,
44- "created_at" : " 2020-05-26T16:50:56.645Z" ,
45- "id" : 4567388 ,
46- "name" : " basketball_player" ,
47- "updated_at" : " 2020-05-26T16:50:56.645Z" ,
48- "user" : {
49- "avatar_url" : " https://assets.gitlab-static.net/uploads/-/system/user/avatar/2409720/avatar.png" ,
50- "id" : 2409720 ,
51- "name" : " Venu Vardhan Reddy Tekula" ,
52- "state" : " active" ,
53- "username" : " vchrombie" ,
54- "web_url" : " https://gitlab.com/vchrombie"
55- }
56- },
5741 {
5842 "awardable_id" : 32985061 ,
5943 "awardable_type" : " Issue" ,
Original file line number Diff line number Diff line change @@ -66,12 +66,10 @@ def test_raw_to_enrich(self):
6666 eitem = enrich_backend .get_rich_item (item )
6767 self .assertEqual (item ['category' ], 'issue' )
6868 self .assertEqual (eitem ['issue_labels' ], ['UI' , 'enhancement' , 'feature' ])
69- self .assertEqual (eitem ['reactions' ][0 ]['type' ], 'thumbsup ' )
69+ self .assertEqual (eitem ['reactions' ][0 ]['type' ], 'thumbsdown ' )
7070 self .assertEqual (eitem ['reactions' ][0 ]['count' ], 1 )
71- self .assertEqual (eitem ['reactions' ][1 ]['type' ], 'basketball_player ' )
71+ self .assertEqual (eitem ['reactions' ][1 ]['type' ], 'thumbsup ' )
7272 self .assertEqual (eitem ['reactions' ][1 ]['count' ], 1 )
73- self .assertEqual (eitem ['reactions' ][2 ]['type' ], 'thumbsdown' )
74- self .assertEqual (eitem ['reactions' ][2 ]['count' ], 1 )
7573 self .assertNotEqual (eitem ['state' ], 'closed' )
7674 self .assertEqual (eitem ['time_open_days' ], 63.02 )
7775
You can’t perform that action at this time.
0 commit comments