Ticket #451 (assigned defect)

Opened 5 years ago

Last modified 3 years ago

South seems to break get_profile in test mode

Reported by: artem.skvira@… Owned by: andrew
Priority: major Milestone: 1.0
Component: migrations Version: 0.7
Keywords: Cc:

Description

When executing the code below in test mode (./manage.py test)

profile = request.user.get_profile()
profile.related_field
<relatedfield: blah>

Problem here is that class name has changed - 'relatedfield' should be RelatedField?.

as soon as I turn off migrations for testing, with

SOUTH_TESTS_MIGRATE = False

problem goes away.

Change History

comment:1 Changed 4 years ago by andrew

  • Status changed from new to assigned
  • Milestone set to 0.7.2

It looks like the fake ORM is colliding. Scheduling for 0.7.2.

comment:2 Changed 4 years ago by andrew

  • Milestone changed from 0.7.2 to 0.7.3

comment:3 Changed 4 years ago by andrew

  • Milestone changed from 0.7.3 to 1.0
Note: See TracTickets for help on using tickets.