Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#15549 closed (fixed)

Model formset regressions tests fail on Postgresql

Reported by: Béres Botond Owned by: nobody
Component: Forms Version: dev
Severity: Keywords: postgresql blocker
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

======================================================================
FAIL: test_custom_delete (regressiontests.model_formsets_regress.tests.FormfieldShouldDeleteFormTests)
Verify DeleteFormset ignores DELETE field and uses form method
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/botondus/Envs/django/django/tests/regressiontests/model_formsets_regress/tests.py", line 401, in test_custom_delete
    self.assertTrue(formset.is_valid())
AssertionError: False is not True

======================================================================
FAIL: test_no_delete (regressiontests.model_formsets_regress.tests.FormfieldShouldDeleteFormTests)
Verify base formset doesn't modify database
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/botondus/Envs/django/django/tests/regressiontests/model_formsets_regress/tests.py", line 370, in test_no_delete
    self.assertTrue(formset.is_valid())
AssertionError: False is not True

Change History (3)

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

In [15744]:

Fixed #15549 -- Removed dependency on specific primary keys. Thanks to bberes for the report.

comment:2 by Russell Keith-Magee, 14 years ago

In [15747]:

[1.2.X] Fixed #15549 -- Removed dependency on specific primary keys. Thanks to bberes for the report.

Backport of r15744 from trunk.

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top