No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
326f524
... +3 ...
614f5f2
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
44 | 44 | 'item_uri', 'item_title', 'item_volume', 'item_authors', |
|
45 | 45 | 'item_year', 'item_notes', |
|
46 | 46 | # footnote/citation |
|
47 | - | 'source_citation', 'source_manifest', 'source_image' |
|
47 | + | 'source_type', 'source_citation', 'source_manifest', 'source_image' |
|
48 | 48 | ] |
|
49 | 49 | ||
50 | 50 | def get_queryset(self): |
172 | 172 | def source_info(self, footnote): |
|
173 | 173 | '''source details from a footnote''' |
|
174 | 174 | source_info = OrderedDict([ |
|
175 | + | ('type', footnote.bibliography.source_type.name), |
|
175 | 176 | ('citation', footnote.bibliography.bibliographic_note) |
|
176 | 177 | ]) |
|
177 | 178 | if footnote.bibliography.manifest: |
527 | 527 | assert info['citation'] == footnote.bibliography.bibliographic_note |
|
528 | 528 | assert info['manifest'] == footnote.bibliography.manifest.uri |
|
529 | 529 | assert info['image'] == str(footnote.image.image) |
|
530 | + | assert info['type'] == footnote.bibliography.source_type.name |
|
530 | 531 | ||
531 | 532 | def test_get_object_data(self): |
|
532 | 533 | # get a subscription with no subcategory and both dates |
Files | Coverage |
---|---|
Project Totals (223 files) | 98.01% |
614f5f2
a790c7b
f488806
816359d
326f524