#36936: django-docker-box tests fail when running sqlite tests
-------------------------------------+-------------------------------------
Reporter: Wes P. | Owner: Pete
Type: | Rosenblum
Cleanup/optimization | Status: assigned
Component: Migrations | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):
In [changeset:"71d1e92e11093feb9a337f6d77078c5e75cbb92f" 71d1e92e]:
{{{#!CommitTicketReference repository=""
revision="71d1e92e11093feb9a337f6d77078c5e75cbb92f"
Refs #36936 - Adjusted tests to set PYTHON_COLORS environment variable.
When "FORCE_COLOR" was set in the environment (such as in django-docker-
box)
several test cases that rely on string comparisons against exception
messages or command line results would fail due to ANSI escape sequences
being present in the output. This change resolved the issue by setting
the "PYTHON_COLORS" environment variable to "0" for those specific tests,
which takes precendence over the presence of "FORCE_COLOR".
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36936#comment:9>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019c9a222cc2-4545559a-0af0-4b74-aef3-f7d8151d2bc1-000000%40eu-central-1.amazonses.com.