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

zulip / zulip / 14303 / 6
3%
master: 3%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2017 09:45PM UTC
Files 357
Run time 15s
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

19 Mar 2017 06:47PM UTC coverage: 91.078% (-0.09%) from 91.163%
TEST_SUITE=backend

push

travis-ci

timabbott
Fix bugs with handling of the empty narrow.

An empty narrow (ie, the home view) can be represented in code as either
`None` or `[]` but we had incorrect handling that failed to fully
properly deal with either case.

(1) In `get_stream_name_from_narrow`, we failed to deal with `None` by
trying to always iterate over `narrow`.
(2) In several other places, we failed to deal with `[]` by explicitly
checking `if narrow is None` or `if narrow is not None`. Changing these
to truthiness checks should work for both the `None` and `[]` cases.

28807 of 31629 relevant lines covered (91.08%)

0.91 hits per line

Source Files on job 14303.6 (TEST_SUITE=backend)
  • Tree
  • List 0
  • Changed 16
  • Source Changed 1
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14303
  • Travis Job 14303.6
  • 0a76a609 on github
  • Prev Job for TEST_SUITE=backend on master (#14302.7)
  • Next Job for TEST_SUITE=backend on master (#14305.6)
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