Code

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#21118 closed Bug (fixed)

Django unittest failure - WizardFormKwargsOverrideTests

Reported by: rmboggs Owned by: timo
Component: Testing framework Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi

I've been running into a unittest failure starting with django 1.5.2+ when testing on the latest snapshot of OpenBSD.

The command I am running to test is:

env LC_CTYPE=en_US.UTF-8 PYTHONPATH=. python2.7 tests/runtests.py --settings=test_sqlite

The failure is with test:

django.contrib.formtools.tests.wizard.wizardtests.tests.WizardFormKwargsOverrideTests.test_instance_is_maintained
AssertionError: 2 != 3

After inquiring on the django-users list, it sounds like this issue is not limited to OpenBSD. Someone else indicated that the same failure occurs on Mac OSX. The django-user post can be found here: https://groups.google.com/forum/#!topic/django-users/MISYeLhni4Y

Please let me know if more information is needed.

Thanks,
Ryan

Attachments (0)

Change History (5)

comment:1 Changed 7 months ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to timo
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 4f40b97d9728175c195c81f2413d800238bc8804:

Fixed #21118 -- Isolated a test that uses the database.

Thanks rmboggs for the report.

comment:3 Changed 7 months ago by Tim Graham <timograham@…>

In 14e139ecdfeec555265eec11d7bca7596311e348:

[1.6.x] Fixed #21118 -- Isolated a test that uses the database.

Thanks rmboggs for the report.

Backport of 4f40b97d97 from master

comment:4 Changed 7 months ago by Tim Graham <timograham@…>

In 72f7932cfbe079f5063a2f1b4c09b520d99f5e42:

[1.5.x] Fixed #21118 -- Isolated a test that uses the database.

Thanks rmboggs for the report.

Backport of 4f40b97d97 from master

comment:5 Changed 7 months ago by Tim Graham <timograham@…>

In dbad65ded76d571937ce276e15cad2e19e9989fb:

[1.6.x] Fixed bad backport in last commit; refs #21118

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.