Ran
|
Jobs
4
|
Files
9
|
Run time
59s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Merge pull request #85 from subhankarb/dpmpy-82 [refactor][l]: Refactor dpmpy to work with new OpenSpending compatible DPR API - refs https://github.com/frictionlessdata/dpr-api/issues/249. There are three major changes in this PR: - Modifying the `finalize` API to `publish` API in 0114dd6e7 - fixes #82 - In publish command replace call to `/api/package/%s/%s/finalize` with `/api/package/upload` - Updated relevant test cases where the old API call was used. - Change upload file process to match new approach (upload datapackage.json just to bitstore not to metadata api and receive bitstore upload auth in a different structure). Code is in fa55f0dc2 And fixes #83 - Removed upload API call for `datapackage.json` - Added `/api/datastore/authorize` API call and refactored to use the returned info (as different from what we had before) - Changes all relevant tests. - Change request header key for jwt token from Authorization to Auth-Token - fixes #84. See a832e258f forthe changes.
29 of 29 new or added lines in 1 file covered. (100.0%)
374 of 399 relevant lines covered (93.73%)
3.74 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
93.99 |
-0.69% | dpm/client/__init__.py |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
93.99 |
-0.69% | dpm/client/__init__.py |
2 |
95.45 |
-1.82% | dpm/main.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 90.1 (TOXENV="py${PYTHON_VERSION//./}") | 9 |
92.98 |
Travis Job 90.1 | |
2 | 90.2 (TOXENV="py${PYTHON_VERSION//./}") | 9 |
93.73 |
Travis Job 90.2 | |
3 | 90.3 (TOXENV="py${PYTHON_VERSION//./}") | 9 |
93.73 |
Travis Job 90.3 | |
4 | 90.4 (TOXENV="py${PYTHON_VERSION//./}") | 9 |
93.73 |
Travis Job 90.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|