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

widesky / hszinc / 200 / 5
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 13 May 2018 11:47PM UTC
Files 14
Run time 1s
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

08 May 2018 03:40AM UTC coverage: 97.729% (+0.07%) from 97.66%
200.5

push

travis-ci

SamuelToh
Merged bugfix/WC-1382-unicode-fix into develop

* WC-1391: parser tests: Add test case.

    This is an actual grid returned by our WideSky instance that made
    `hszinc` choke.  Now to fix the cause.

* WC-1391: zincparser: Improve error reporting.

    Now, if an error is detected in a ZINC grid, an exception is thrown
    which gives the location of the error in both human and machine-readable
    forms:

    ```
    ======================================================================
    ERROR: tests.test_parser.test_list_v2
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
        self.test(*self.arg)
      File "/home/stuartl/vrt/projects/widesky/sdk/hszinc/tests/test_parser.py", line 657, in test_list_v2
        ''')
      File "/home/stuartl/vrt/projects/widesky/sdk/hszinc/hszinc/parser.py", line 48, in parse
        return list(map(_parse, GRID_SEP.split(grid_str.rstrip())))
      File "/home/stuartl/vrt/projects/widesky/sdk/hszinc/hszinc/parser.py", line 58, in parse_grid
        return parse_zinc_grid(grid_str)
      File "/home/stuartl/vrt/projects/widesky/sdk/hszinc/hszinc/zincparser.py", line 559, in parse_grid
        g.extend(map(_parse_row, filter(lambda gp : bool(gp[1]), enumerate(grid_parts))))
      File "/home/stuartl/vrt/projects/widesky/sdk/hszinc/hszinc/zincparser.py", line 550, in _parse_row
        grid_data, line_num, pe.col)
    ZincParseException: Failed to parse row: Expected end of text (at char 3), (line:3, col:4)
        .-------------------------------------------------------------------------------------.
       1| ver:"2.0"                                                                           |
       2| ix,list,                                                       dis                  |
       3 >00,[],                                                         "An ... (continued)

1162 of 1189 relevant lines covered (97.73%)

0.98 hits per line

Source Files on job 200.5
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 189
  • Travis Job 200.5
  • 1ab52e98 on github
  • Prev Job for on develop (#198.1)
  • Next Job for on develop (#201.1)
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