#31413: migrations.test_loader not isolated on databases that don't support
transactions.
----------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 3.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------
Changes (by felixxm):
* stage: Unreviewed => Accepted
Comment:
I confirmed that two tests in `migrations.test_loader` fail on databases
that don't support transactions:
{{{
======================================================================
FAIL: test_loading_squashed (migrations.test_loader.LoaderTests)
Tests loading a squashed migration
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/felixx/repo/django/django/test/utils.py", line 381, in inner
return func(*args, **kwargs)
File "django/tests/migrations/test_loader.py", line 255, in
test_loading_squashed
2,
AssertionError: 1 != 2
======================================================================
FAIL: test_apply (migrations.test_loader.RecorderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "django/tests/migrations/test_loader.py", line 39, in test_apply
set(),
AssertionError: Items in the first set but not the second:
('myapp', '0432_ponies')
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31413#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.543021b9df637b502dcc71a504c00ed1%40djangoproject.com.