Modify

Ticket #142 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

when running tests syncdb is run without --migrate when SOUTH_TESTS_MIGRATE=True and using Django trunk

Reported by: peimei@… Owned by: andrew
Priority: major Milestone:
Component: commands Version: 0.6-pre
Keywords: Cc:

Description

I've set SOUTH_TESTS_MIGRATE=True in settings and tryed to run ./manage.py tests
The output was:

arikon@sergey-belov:~/projects/bond/src/bond$ ./manage.py test tickets
Creating test database...
Syncing...
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table south_migrationhistory
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.admin
 > south

Not synced (use migrations):
 - bond.tickets
(use ./manage.py migrate to migrate these)
..
----------------------------------------------------------------------
Ran 2 tests in 0.005s

That ment that migrations were not run.
That was because of fix in Django: http://code.djangoproject.com/ticket/10080

Attachments

142.patch (1.6 KB) - added by peimei@… 5 years ago.
Patch that fixes this problem

Change History

Changed 5 years ago by peimei@…

Patch that fixes this problem

comment:1 Changed 5 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [244].

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.