This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from django.test.runner import DiscoverRunner | |
""" | |
WARNING: WHEN USED INCORRECTLY THIS TEST RUNNER WILL DROP ALL TABLES IN YOUR PRODUCTION | |
DATABASE!!! | |
Heroku does not give users createdb/dropdb permissions, therefore Heroku CI cannot run tests for django. | |
In order to fix this, use this test runner instead which attempts to minimally override the |