hassanakbar4 / ttest

0 stars 0 forks source link

Test cases fail in fresh checkout from iesg-tracker branch #359

Closed hassanakbar4 closed 14 years ago

hassanakbar4 commented 14 years ago

resolution_fixed type_defect | by henrik@levkowetz.com


Trying to run one particular test set in a fresh checkout from the iesg-tracker branch, I get the output below; when digging into this, it seems that authentication fails for the user klm.

14:25 ~/src/db/iesg-tracker
henrik@merlot $ PYTHONPATH=$PWD ietf/manage.py test iesg.ManageTelechatDatesTestCase
Creating test database...
Saving test database name test_ietf...
FF
======================================================================
FAIL: test_rollup_dates (ietf.iesg.tests.ManageTelechatDatesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/henrik/src/db/iesg-tracker/ietf/iesg/tests.py", line 93, in test_rollup_dates
    self.assertEquals(r.status_code, 200)
AssertionError: 302 != 200

======================================================================
FAIL: test_set_dates (ietf.iesg.tests.ManageTelechatDatesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/henrik/src/db/iesg-tracker/ietf/iesg/tests.py", line 68, in test_set_dates
    self.assertEquals(r.status_code, 200)
AssertionError: 302 != 200

----------------------------------------------------------------------
Ran 2 tests in 10.461s

FAILED (failures=2)
Checking that it's safe to destroy test database...
Destroying test database...

Issue migrated from trac:359 at 2021-12-13 14:46:32 +0500

hassanakbar4 commented 14 years ago

@henrik@levkowetz.com changed status from new to closed

hassanakbar4 commented 14 years ago

@henrik@levkowetz.com set resolution to fixed

hassanakbar4 commented 14 years ago

@henrik@levkowetz.com commented


Fixed in 447d42b2fc5375bfb459eb99a19de020e37b4ef6:

Applied a patch to django's test client, found by olau@: http://code.djangoproject.com/changeset4e2a65f23760d9a7ac7636bef6ad1838dd316b74. Fixes issue #359.

hassanakbar4 commented 14 years ago

@henrik@levkowetz.com changed milestone from ` to3.05`