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

uc-cdis / indexd / 1887 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 22 May 2020 07:25PM UTC
Files 38
Run time 4s
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

22 May 2020 07:23PM UTC coverage: 89.978% (+0.06%) from 89.921%
COVERALLS_TOKEN=[secure]

push

travis-ci-com

web-flow
(PXP-5525): Add blank version of record (#271)

* Update swagger API docs

* First pass implement POST /index/blank/{GUID}

- Create a blank record that is a new version of a previous record
(i.e. shared a baseid with previous record)
- acl/authz carry over from previous record
- requires update permission on previous record
- user must specify uploader field, can optionally specify file_name field
(following convention of POST /index/blank)

* Add unit tests for POST /index/blank/{GUID}

* Fix errors

- Return 201 on success
- Fix syntax error in driver

* Run black

* Remove buggy test

* Test no record found condition

* Run black

* Remove unnecessary guard for duplicate GUID

* Revert deletion of test_create_blank_record_with_baseid

* Run black

* Update indexd/index/blueprint.py

Co-authored-by: Pauline Ribeyre <ribeyre@uchicago.edu>

* Support specifying guid

- allow specifying guid
- update swagger docs
- check for GUID already exists
- write tests for specifying guid

* Update swagger docs

- Remove unneeded OutputRefWithUrl
- Update index/blank and index/blank/{{GUID}} endpoints to return 201, not 200

* Add test for creating blank version of blank record

* Fix typo, remove unused import, run black

Co-authored-by: Pauline Ribeyre <ribeyre@uchicago.edu>

1634 of 1816 relevant lines covered (89.98%)

0.9 hits per line

Source Files on job 1887.1 (COVERALLS_TOKEN=[secure])
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 427
  • Travis Job 1887.1
  • 16c3e4fc on github
  • Prev Job for COVERALLS_TOKEN=[secure] on master (#1881.1)
  • Next Job for COVERALLS_TOKEN=[secure] on master (#1892.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