Showing 2 of 2 files from the diff.
@@ -371,6 +371,8 @@
Loading
371 | 371 | (borrow.account.persons.first().name, |
|
372 | 372 | twitterbot_100years.work_label(borrow.work)) |
|
373 | 373 | assert borrowed in tweet |
|
374 | + | # books with no date should not have a duplicate period |
|
375 | + | assert '.”.' not in tweet |
|
374 | 376 | ||
375 | 377 | # return |
|
376 | 378 | tweet = tweet_content(borrow, borrow.partial_end_date) |
@@ -230,7 +230,7 @@
Loading
230 | 230 | 'verb': verb, |
|
231 | 231 | 'work': work_text, |
|
232 | 232 | # don't duplicate period inside quotes when no year |
|
233 | - | 'period': '' if work_text[-1] == '.' else '.' |
|
233 | + | 'period': '' if work_text[-2] == '.' else '.' |
|
234 | 234 | }) |
|
235 | 235 | ||
236 | 236 | elif event_label == 'Reimbursement': |
Files | Coverage |
---|---|
mep | 98.44% |
srcmedia/ts | 86.55% |
Project Totals (223 files) | 98.01% |
2502.1
TRAVIS_PYTHON_VERSION=3.5 TRAVIS_OS_NAME=linux
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.