Re: Data Migrations and Testing

2014-06-21 Thread Andrew Godwin
If you read the section on this: https://docs.djangoproject.com/en/dev/topics/testing/overview/#test-case-serialized-rollback the emulation is only performed if you set serialized_rollback = True on the TestCase (as not all tests need this and it slows tests down by 3x, so we decided to make it

Re: [GSOC] Weekly update

2014-06-21 Thread Curtis Maloney
Is there somewhere I can look at your work in progress code? On 21 June 2014 19:57, Daniel Pyrathon wrote: > Hi All, > > This week I have done the following > > *- Openend PR and merged Options (_meta) unittests* > https://github.com/django/django/pull/2823 > This is a

Re: Data Migrations and Testing

2014-06-21 Thread Rafał Pitoń
Ticket claims this is fixed, but as I've moved my project to Django 1.7, I've seen story from OP's mail repeat. My migrations create tables, then populate them with data. Then tests that read this data from DB blurp with "DoesNotExist". > Any initial data loaded in migrations will only be

Re: [GSOC] Weekly update

2014-06-21 Thread Daniel Pyrathon
Hi All, This week I have done the following *- Openend PR and merged Options (_meta) unittests* https://github.com/django/django/pull/2823 This is a working test suite of model/options.py file. Is is currently testing the current Options implementation. *- Re-implemented test-suite in the new