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

hootnot / oanda-api-v20 / 62
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.7.2
DEFAULT BRANCH: master
Ran 06 Oct 2016 07:47PM UTC
Jobs 4
Files 12
Run time 5s
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
62

push

travis-ci

hootnot
handling of data changed
the specs talk about 'body', therefore 'body' was used in APIRequests.
Derived request had a 'data' parameter, calling the parent with 'body=data'.
The API-client checked the request for having a 'body' then turning it into
a 'data' parameter for the 'requests' library.

So to fix this naming issue:
- from all endpoints the data-parameter is removed
- from the APIRequest the body-parameter is removed
- the params decorator is replaced by the extendargs decorator, allowing
  parameters to be added by name
  @params is now @extendargs("params"), the data parameter is added by
  @extendargs("data")
- the client handles data instead of body
- tests supplied to test the exception when passing data to and endpoint
  having no data. Same for params.

45 of 45 new or added lines in 9 files covered. (100.0%)

249 of 251 relevant lines covered (99.2%)

3.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 62.1 06 Oct 2016 07:47PM UTC 0
99.2
Travis Job 62.1
2 62.2 06 Oct 2016 07:47PM UTC 0
99.2
Travis Job 62.2
3 62.3 06 Oct 2016 07:47PM UTC 0
99.2
Travis Job 62.3
4 62.4 06 Oct 2016 07:47PM UTC 0
99.2
Travis Job 62.4
Source Files on build 62
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #62
  • 9c70f59b on github
  • Next Build on data-decorator (#63)
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

© 2025 Coveralls, Inc