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

openwisp / netjsonconfig / 282
99%

Build:
DEFAULT BRANCH: master
Ran 25 May 2017 08:02PM UTC
Jobs 3
Files 20
Run time 17s
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

pending completion
282

push

travis-ci

nemesisdesign
[general] Refactored backends, renderers, added converters #70

This is the first step in implementing #70.

This patch does not introduce changes of behaviour in the library,
infact tests remain unaltered, except for their names (because they
were named after renderer classes which now are a much smaller
part of the library).

This patch introduces the concept of converter classes, which are
responsible for converting the NetJSON configuration dictionary
to an intermediate data structure that is then used by renderers
to be rendered.

The backward conversion will then implement the reverse process:

Parsers will be responsible of converting native configuration
to the intermediate data structure;
Converters will have a to_netjson method that will be responsible
of converting the intermediate data structure to the NetJSON
configuration dictionary.

257 of 257 new or added lines in 11 files covered. (100.0%)

773 of 774 relevant lines covered (99.87%)

3.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
netjsonconfig/utils.py
Jobs
ID Job ID Ran Files Coverage
1 282.1 25 May 2017 08:02PM UTC 0
99.87
Travis Job 282.1
2 282.2 25 May 2017 08:02PM UTC 0
99.87
Travis Job 282.2
3 282.3 25 May 2017 08:02PM UTC 0
99.87
Travis Job 282.3
Source Files on build 282
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #282
  • 2a6cfb22 on github
  • Prev Build on master (#279)
  • Next Build on master (#283)
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

© 2025 Coveralls, Inc