File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,26 +67,30 @@ def test_debian_extract_data():
6767 test_data = json .loads (test_input )
6868
6969 expected = {
70- 'git-repair' : {
71- "TEMP-0807341-84E914" : {
72- "status" : "open" ,
73- "urgency" : "unimportant" }}
74- 'mimetex' : {
75- "CVE-2009-1382" : {
76- 'fixed_version' : '1.50-1.1' ,
77- 'status' : 'resolved' ,
78- 'urgency' : 'medium' },
79-
80- "CVE-2009-2459" : {
81- 'fixed_version' : '1.50-1.1' ,
82- 'status' : 'resolved' ,
83- 'urgency' : 'medium' }}
84-
85- 'sysvinit' : {
86- "TEMP-0517018-A83CE6" : {
87- 'fixed_version' : '1.50-1.1' ,
88- 'status' : 'resolved' ,
89- 'urgency' : 'medium' }}
90- }
70+ 'git-repair' : {
71+ 'TEMP-0807341-84E914' : {
72+ 'status' : 'open' ,
73+ 'urgency' : 'unimportant' ,
74+ }
75+ },
76+ 'mimetex' : {
77+ 'CVE-2009-1382' : {
78+ 'fixed_version' : '1.50-1.1' ,
79+ 'status' : 'resolved' ,
80+ 'urgency' : 'medium' ,
81+ },
82+ 'CVE-2009-2459' : {
83+ 'fixed_version' : '1.50-1.1' ,
84+ 'status' : 'not-resolved' ,
85+ 'urgency' : 'medium'
86+ },
87+ },
88+ 'sysvinit' : {
89+ 'TEMP-0517018-A83CE6' : {
90+ 'status' : 'open' ,
91+ 'urgency' : 'unimportant' ,
92+ },
93+ },
94+ }
9195
9296 assert expected == debian .extract_data (test_data )
You can’t perform that action at this time.
0 commit comments