﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4711	Test 'datatypes' fails, BooleanFields are inconsistent under different backends	mir@…	Adrian Holovaty	"The regression test 'datatypes' fails with mysql. Under mysql, a BooleanField always has a value of 0 or 1, not False or True.

The test entered the test suite in [5046] as part of the boulder-oracle-sprint branch.

Here's the output from the test run:

{{{
======================================================================
FAIL: Doctest: regressiontests.datatypes.models.__test__.API_TESTS
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/mir/lib/python/django/test/_doctest.py"", line 2161, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for regressiontests.datatypes.models.__test__.API_TESTS
  File ""/home/mir/src/django/trunk/tests/regressiontests/datatypes/models.py"", line unknown line number, in API_TESTS

----------------------------------------------------------------------
File ""/home/mir/src/django/trunk/tests/regressiontests/datatypes/models.py"", line ?, in regressiontests.datatypes.models.__test__.API_TESTS
Failed example:
    d2.is_frosted
Expected:
    False
Got:
    0
----------------------------------------------------------------------
File ""/home/mir/src/django/trunk/tests/regressiontests/datatypes/models.py"", line ?, in regressiontests.datatypes.models.__test__.API_TESTS
Failed example:
    d2.has_sprinkles
Expected:
    True
Got:
    1

}}}"		closed	Database layer (models, ORM)	dev		invalid			Unreviewed	0	0	0	0	0	0
