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

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

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

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.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 113.1 (TOXENV="py${PYTHON_VERSION//./}") 07 Jul 2020 03:07PM UTC 0
100.0
Travis Job 113.1
2 113.2 (TOXENV="py${PYTHON_VERSION//./}") 07 Jul 2020 03:07PM UTC 0
97.06
Travis Job 113.2
Source Files on build 113
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #113
  • 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