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

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

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

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

Jobs
ID Job ID Ran Files Coverage
1 89.1 04 Sep 2018 12:29PM UTC 0
85.28
Travis Job 89.1
Source Files on build 89
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #89
  • 1f6a2c31 on github
  • Prev Build on develop (#74)
  • Next Build on develop (#97)
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