• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mysociety / yournextrepresentative / 2821 / 3
74%
master: 51%

Build:
Build:
LAST BUILD BRANCH: liable-to-vandalism-in-db
DEFAULT BRANCH: master
Ran 17 May 2016 02:43PM UTC
Files 303
Run time 19s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 May 2016 02:42PM UTC coverage: 74.093%. Remained the same
2821.3

push

travis-ci

Mark Longair
If none of the Twitter details are valid, remove them

The candidates_update_twitter_usernames script behaved less than ideally
in the case where none of their Twitter details correspond to a real
Twitter account (typically when they delete their account, or we only
have an old screen name that predates a change of screen name): it would
print out a warning, which would be emailed if the script is run from
a cron job.  This isn't ideal because we never want to be linking to
non-existent Twitter accounts from the site - the action you'd take on
seeing this warning is always going to be to remove or fix the bad data.
(The old values will still be in the version history, after all.)  You
might want to search for a new Twitter account too, but you can still do
that afterwards if the bad data were deleted.

This commit changes the behaviour of the script so this bad Twitter
account data is deleted automatically; it still emits a warning, so those
cases can be investigated (and in some cases new accounts found) by hand
afterwards.

7396 of 9982 relevant lines covered (74.09%)

0.74 hits per line

Source Files on job 2821.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2821
  • Travis Job 2821.3
  • dd1ad2cc on github
  • Prev Job for on remove-bad-twitter-data (#2813.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc