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

frictionlessdata / frictionless-ckan-mapper / 113 / 1
100%
master: 97%

Build:
Build:
LAST BUILD BRANCH: release-1.0.6
DEFAULT BRANCH: master
Ran 07 Jul 2020 03:07PM UTC
Files 3
Run time 3min
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

07 Jul 2020 03:00PM UTC coverage: 100.0%. First build
TOXENV="py${PYTHON_VERSION//./}"

push

travis-ci

sglavoie
[round-trip][m]: Add tests for CKAN round trips

* `test_round_trip_ckan` checks whether round tripping with a
  CKAN package works as expected. It will take ckan1, convert it to
  frictionless1, then take frictionless1, convert it to ckan2. At this
  point, ckan1 != ckan2 because not everything maps across.
  * However, the test goes one step further and does a conversion from
  ckan2 to frictionless2 and then frictionless2 to ckan3. At this
  point, there are no more noticeable differences: ckan2 == ckan3.
* `test_differences_ckan_round_trip`: two back-to-back round trips
  lead to ckan2 == ckan3.
  * This test checks and highlights (through a fixture for clarity and
    to avoid cluttering the code) the differences from converting a CKAN
    package to a Frictionless package then to a CKAN package again.
  * The main differences are with "extras" and additional comments were
    left in the code to explain this further.
* The commit proposes a simple fix for now to avoid running those tests
  with Python 2. The reason they fail is only due to the way strings are
  handled differently in Python 2. The assertion fails on comparing
  dictionaries, which is not an issue in Python 3.

136 of 136 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 113.1 (TOXENV="py${PYTHON_VERSION//./}")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8
  • Travis Job 113.1
  • e3242d9c on github
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