Created
April 29, 2015 13:43
-
-
Save trecouvr/4e7b9a0978321a8edbc5 to your computer and use it in GitHub Desktop.
traceback django ticket #24394
This file contains hidden or 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
| ./manage.py test -v2 | |
| Creating test database for alias 'mysite' (':memory:')... | |
| Operations to perform: | |
| Synchronize unmigrated apps: staticfiles, messages | |
| Apply all migrations: admin, contenttypes, sites, auth, sessions | |
| Synchronizing apps without migrations: | |
| Creating tables... | |
| Running deferred SQL... | |
| Running migrations: | |
| Rendering model states... DONE | |
| Applying contenttypes.0001_initial... OK | |
| Applying auth.0001_initial... OK | |
| Applying admin.0001_initial... OK | |
| Applying contenttypes.0002_remove_content_type_name... OK | |
| Applying auth.0002_alter_permission_name_max_length... OK | |
| Applying auth.0003_alter_user_email_max_length... OK | |
| Applying auth.0004_alter_user_username_opts... OK | |
| Applying auth.0005_alter_user_last_login_null... OK | |
| Applying auth.0006_require_contenttypes_0002... OK | |
| Applying sessions.0001_initial... OK | |
| Applying sites.0001_initial... OK | |
| test_pouet (mysite.tests.MyTestCase) ... ok | |
| ERROR | |
| ====================================================================== | |
| ERROR: test_pouet (mysite.tests.MyTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/Users/thomas/dev/django/django/test/testcases.py", line 190, in __call__ | |
| self._post_teardown() | |
| File "/Users/thomas/dev/django/django/test/testcases.py", line 862, in _post_teardown | |
| self._fixture_teardown() | |
| File "/Users/thomas/dev/django/django/test/testcases.py", line 1002, in _fixture_teardown | |
| return super(TestCase, self)._fixture_teardown() | |
| File "/Users/thomas/dev/django/django/test/testcases.py", line 889, in _fixture_teardown | |
| inhibit_post_migrate=self.available_apps is not None) | |
| File "/Users/thomas/dev/django/django/core/management/__init__.py", line 118, in call_command | |
| return command.execute(*args, **defaults) | |
| File "/Users/thomas/dev/django/django/core/management/base.py", line 398, in execute | |
| output = self.handle(*args, **options) | |
| File "/Users/thomas/dev/django/django/core/management/commands/flush.py", line 48, in handle | |
| allow_cascade=allow_cascade) | |
| File "/Users/thomas/dev/django/django/core/management/sql.py", line 15, in sql_flush | |
| tables = connection.introspection.django_table_names(only_existing=True, include_views=False) | |
| File "/Users/thomas/dev/django/django/db/backends/base/introspection.py", line 86, in django_table_names | |
| existing_tables = self.table_names(include_views=include_views) | |
| File "/Users/thomas/dev/django/django/db/backends/base/introspection.py", line 56, in table_names | |
| with self.connection.cursor() as cursor: | |
| File "/Users/thomas/dev/django/django/db/backends/base/base.py", line 164, in cursor | |
| cursor = self.make_cursor(self._cursor()) | |
| File "/Users/thomas/dev/django/django/db/backends/dummy/base.py", line 21, in complain | |
| raise ImproperlyConfigured("settings.DATABASES is improperly configured. " | |
| ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. | |
| ---------------------------------------------------------------------- | |
| Ran 1 test in 0.008s | |
| FAILED (errors=1) | |
| Destroying test database for alias 'mysite' (':memory:')... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment