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

allegro / ralph_pricing / 1753 / 1
77%
develop: 77%

Build:
DEFAULT BRANCH: develop
Ran 27 Sep 2016 07:32AM UTC
Files 201
Run time 9s
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

27 Sep 2016 07:21AM UTC coverage: 82.272% (-0.2%) from 82.439%
DJANGO_VERSION=1.4.18 TEST_DATABASE_ENGINE=mysql

push

travis-ci

mkurek
Migrate API to DjRF (#507)

The purpose of this PR is to switch `pricingserviceusages` API endpoint do Django Rest Framework (from TastyPie). The structure of data that can be sent/fetched to/from this endpoint didn't change in order to keep backward compatibility.

This PR also adds custom authentication scheme `TastyPieLikeTokenAuthentication`, which extends DjRF's `TokenAuthentication` with support of `Authorization` header in the format that is expected by TastyPie.

It also gives `/scrooge/api-token-auth/` endpoint for generation of DjRF's API keys.

To facilitate TastyPie -> DjRF migration, `scrooge_migrate_api_keys` management command is provided, which copies API keys that already have been generated by TastyPie into a structure used by DjRF.

7852 of 9544 relevant lines covered (82.27%)

0.82 hits per line

Source Files on job 1753.1 (DJANGO_VERSION=1.4.18 TEST_DATABASE_ENGINE=mysql)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1753
  • Travis Job 1753.1
  • 06d05d15 on github
  • Prev Job for DJANGO_VERSION=1.4.18 TEST_DATABASE_ENGINE=mysql on develop (#1721.1)
  • Next Job for DJANGO_VERSION=1.4.18 TEST_DATABASE_ENGINE=mysql on develop (#1761.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