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

msiemens / tinydb / 506
98%

Build:
DEFAULT BRANCH: master
Ran 18 Feb 2018 01:57PM UTC
Jobs 10
Files 8
Run time 1min
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
506

push

travis-ci

msiemens
Add Table.write_back(), replacing documents by ids (#184)

* Add Table.replace(), replacing doucments by ids

Compare to `update()`, `replace()` provide a more customizable workflow
to modify documents.
One can fistly search the documents and modify them by thier conditions,
then input new douments with thier `doc_ids` to `replace()`.

* Change replace() to able to get doc_ids by itself

* Add test for replace()

* Fix test of replace()

* Add test replace() return doc_ids

* Add replace() fail test

* Fix setup.py for pytest-runner failing in python 2.6

* Add check to prevent doc_id exceed

* Add test for replacing with exceeded doc_id

* Change function name 'replace' to 'write_back'

* Fix setup.py after merged 061add9

151 of 151 branches covered (100.0%)

Branch coverage included in aggregate %.

471 of 471 relevant lines covered (100.0%)

9.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 506.1 18 Feb 2018 01:58PM UTC 0
100.0
Travis Job 506.1
2 506.2 18 Feb 2018 01:58PM UTC 0
100.0
Travis Job 506.2
3 506.3 18 Feb 2018 01:58PM UTC 0
100.0
Travis Job 506.3
4 506.4 18 Feb 2018 01:57PM UTC 0
100.0
Travis Job 506.4
5 506.5 18 Feb 2018 01:58PM UTC 0
100.0
Travis Job 506.5
6 506.6 18 Feb 2018 01:58PM UTC 0
100.0
Travis Job 506.6
7 506.7 18 Feb 2018 01:59PM UTC 0
100.0
Travis Job 506.7
8 506.8 18 Feb 2018 01:59PM UTC 0
100.0
Travis Job 506.8
9 506.9 (TOXENV=check) 18 Feb 2018 01:59PM UTC 0
Travis Job 506.9
10 506.10 18 Feb 2018 01:59PM UTC 0
100.0
Travis Job 506.10
Source Files on build 506
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #506
  • 6b33fee0 on github
  • Prev Build on master (#504)
  • Next Build on master (#507)
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