14
14
"GO:0005634" : {
15
15
"iri" : "http://purl.obolibrary.org/obo/GO_0005634" ,
16
16
"label" : "nucleus" ,
17
- "description" : "A membrane-bounded organelle of eukaryotic cells in which chromosomes are housed and replicated." ,
17
+ "description" : (
18
+ "A membrane-bounded organelle of eukaryotic cells in which "
19
+ "chromosomes are housed and replicated."
20
+ ),
18
21
},
19
22
"GO:0005635" : {
20
23
"iri" : "http://purl.obolibrary.org/obo/GO_0005635" ,
21
24
"label" : "nuclear envelope" ,
22
- "description" : "The double lipid bilayer enclosing the nucleus and separating its contents from the rest of the cytoplasm." ,
25
+ "description" : (
26
+ "The double lipid bilayer enclosing the nucleus and separating "
27
+ "its contents from the rest of the cytoplasm."
28
+ ),
23
29
},
24
30
}
25
31
@@ -90,12 +96,18 @@ def test_definitions(self, mock_definitions):
90
96
mock_definitions .return_value = [
91
97
(
92
98
"GO:0005634" ,
93
- "A membrane-bounded organelle of eukaryotic cells in which chromosomes are housed and replicated." ,
99
+ (
100
+ "A membrane-bounded organelle of eukaryotic cells in which "
101
+ "chromosomes are housed and replicated."
102
+ ),
94
103
{},
95
104
),
96
105
(
97
106
"GO:0005635" ,
98
- "The double lipid bilayer enclosing the nucleus and separating its contents from the rest of the cytoplasm." ,
107
+ (
108
+ "The double lipid bilayer enclosing the nucleus and separating "
109
+ "its contents from the rest of the cytoplasm."
110
+ ),
99
111
{},
100
112
),
101
113
]
@@ -110,15 +122,21 @@ def test_definitions(self, mock_definitions):
110
122
self .assertEqual (definitions [0 ][0 ], "GO:0005634" )
111
123
self .assertEqual (
112
124
definitions [0 ][1 ],
113
- "A membrane-bounded organelle of eukaryotic cells in which chromosomes are housed and replicated." ,
125
+ (
126
+ "A membrane-bounded organelle of eukaryotic cells in which "
127
+ "chromosomes are housed and replicated."
128
+ ),
114
129
)
115
130
self .assertEqual (definitions [0 ][2 ], {}) # Empty metadata dict
116
131
117
132
# Check second definition
118
133
self .assertEqual (definitions [1 ][0 ], "GO:0005635" )
119
134
self .assertEqual (
120
135
definitions [1 ][1 ],
121
- "The double lipid bilayer enclosing the nucleus and separating its contents from the rest of the cytoplasm." ,
136
+ (
137
+ "The double lipid bilayer enclosing the nucleus and separating "
138
+ "its contents from the rest of the cytoplasm."
139
+ ),
122
140
)
123
141
self .assertEqual (definitions [1 ][2 ], {}) # Empty metadata dict
124
142
0 commit comments