This Django application shows API testing best practices collected from Stepik's Django Rest Framework course.
$ pip install pipenv
$ pipenv install -dev
Pass POSTGRES_DB
, POSTGRES_USER
, POSTGRES_PASSWORD
, POSTGRES_HOST
and POSTGRES_PORT
environments to Django
or copy settings/base/db.py
to settings/local/db.py
and feel free to change local settings. Yes, it works for all
settings from base
.
$ python manage.py test
$ coverage run
MIT