#31765: schema.tests.SchemaTests.test_db_table fails on MacOS
-------------------------------+--------------------------------------
Reporter: Tom Forbes | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Tom Forbes):
It seems that the `sql` column of the `sqlite_master` isn't updated, which
seems to be related to the `supports_atomic_references_rename` feature
being set to True. Setting to to False makes the tests pass. Below is the
`sqlite_master` output for the test:
{{{
('table', 'schema_otherauthor', 'schema_otherauthor', 33, 'CREATE TABLE
"schema_otherauthor" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"name" varchar(255) NOT NULL)')
('table', 'schema_book', 'schema_book', 36, 'CREATE TABLE "schema_book"
("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "author_id" integer NOT
NULL REFERENCES "schema_author" ("id") DEFERRABLE INITIALLY DEFERRED)')
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31765#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/061.1e8623132a552343368eb4e3ab927987%40djangoproject.com.