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

andela / ah-magnificent6 / 89 / 1
98%
master: 86%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/django-2.2.13
DEFAULT BRANCH: master
Ran 04 Sep 2018 12:29PM UTC
Files 10
Run time 1s
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

04 Sep 2018 12:27PM UTC coverage: 85.276% (-0.3%) from 85.621%
89.1

push

travis-ci

parseendavid
#160246870 Bg fix key error on get endpoint (#13)

**What does this PR do?**
- Fixes bug when a client sends a get request to signup and login endpoint.

**Description of tasks to be completed**
- Define methods on *signup* and *login* endpoints to act on *get* requests from clients.
- Move JWT generation to *backends.py*
- Delete *token.py* from the project since its functions have been moved to *backends.py*

**How should this be tested?**
- Clone this repository
- Checkout to bg-fix-key-error-on-get-endpoint-160246870
- Create and activate a virtual environment for this project if you have done that already
- Install project dependencies by running `pip install -r requirements.txt`
- Create a `.env` file and inside it set `SECRET_KEY` and `DATABASE_URL`
- Run the project from the terminal by issuing `python manage.py runserver`
- using a browser of your choice, navigate to `http://127.0.0.1:8000/api/users/signup/` or `http://127.0.0.1:8000/api/users/login/

**Any background context?**
Providing descriptive responses to users when they use methods or format which are not allowed is good for a better user experience.

**What are the relevant pivotal tracker stories?**
[#160246870](https://www.pivotaltracker.com/story/show/160246870)

139 of 163 relevant lines covered (85.28%)

0.85 hits per line

Source Files on job 89.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 76
  • Travis Job 89.1
  • 1f6a2c31 on github
  • Prev Job for on develop (#74.1)
  • Next Job for on develop (#97.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