Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Test settings fixes #110 #164

Merged
merged 8 commits into from
Jan 17, 2017
Merged

Conversation

browniebroke
Copy link
Contributor

@browniebroke browniebroke commented Dec 7, 2016

  • Fix flake8 build error.
  • Add settings and root URL configuration for tests.
  • Simplify runtests.py to use test settings.
  • Add a manage.py using it.
  • Made the SECRET_KEY be different each time a project is generated to avoid copy/paste from example and tests settings to propagate too far.
  • Actually run a few django-admin commands against the generated project, requires Django to be installed.

Bruno Alla added 2 commits December 13, 2016 22:54
Django 1.9+ aren't compatible with Python 3.3
I recently found the section from Django’s docs that describe the
common practice for running tests and it mentions a `runtests.py`
script.

https://docs.djangoproject.com/en/1.10/topics/testing/advanced/#using-th
e-django-test-runner-to-test-reusable-applications
@pydanny pydanny merged commit a6b6eb6 into pydanny:master Jan 17, 2017
@pydanny
Copy link
Owner

pydanny commented Jan 17, 2017

Thanks for the PR!

@browniebroke browniebroke deleted the test-settings branch January 26, 2017 10:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants