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

zulip / zulip / 276 / 3
3%
master: 3%

Build:
DEFAULT BRANCH: master
Ran 14 Jan 2017 05:17AM UTC
Files 264
Run time 11s
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

14 Jan 2017 01:00AM UTC coverage: 90.07% (-0.02%) from 90.087%
TEST_SUITE=backend

push

travis-ci

showell
Lint for duplicate ids in templates.

In this commit we enhance our current template linter to detect
duplicate ids and report them during lint checks. html_branches.py
was topped up with a new function build_id_dict for the purpose.

Also the get_tag_info function in same file was updated to parse
ids and classes more robustly in cases of template variables.
split_for_id_and_class function was added to serve this purpose.

Unit tests for both the functions were created under
tests/test_html_branches. Also a directory under tests called
test_template_data was created to hold templates for testing under
newly created functionality.

check_templates was modified to print to console any duplicates
detected.
showell reviewed my commit and helped me out.

Fixes #2950.

25007 of 27764 relevant lines covered (90.07%)

0.9 hits per line

Source Files on job 276.3 (TEST_SUITE=backend)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 11
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 276
  • Travis Job 276.3
  • 153ad188 on github
  • Prev Job for TEST_SUITE=backend on master (#274.3)
  • Next Job for TEST_SUITE=backend on master (#278.4)
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