Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#6142 closed (worksforme)

trunk does not pass tests

Reported by: mariarchi Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords: tests
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Newest checkout of the trunk - 6897 fails a lot of tests.
http://dpaste.com/27024/ - that's part of the traceback.

Change History (2)

comment:1 by Karen Tracey <kmtracey@…>, 17 years ago

Resolution: worksforme
Status: newclosed

Works for me, excepting one cache test failure that I believe is covered by #6131:

user@host:~/django/trunk$ svn status -u
?                   tests/testsettings.py
Status against revision:   6898
user@host:~/django/trunk$ cat tests/testsettings.py
DATABASE_ENGINE = 'sqlite3'
ROOT_URLCONF = ''
user@host:~/django/trunk$ cd tests
user@host:~/django/trunk/tests$ ./runtests.py --settings=testsettings
======================================================================
FAIL: test_expiration (regressiontests.cache.tests.Cache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/django/trunk/tests/regressiontests/cache/tests.py", line 87, in test_expiration
    self.assertEqual(cache.get("expire2"), "newvalue")
AssertionError: None != 'newvalue'

----------------------------------------------------------------------
Ran 225 tests in 175.455s

FAILED (failures=1)
user@host:~/django/trunk/tests$

Are you sure you have r6897? The very top of the dpaste is showing old code, but that also doesn't look like test case output so I'm confused by it. But the line number reported for the "raise self.failureException(self.format_failure(new.getvalue()))" in _doctest.py also does not match up. That code is at line 2180 as of r6851, not line 2169 as reported in the dpaste. 2169 is where it was prior to r6851.

comment:2 by empty, 17 years ago

Just to confirm same thing for me. Everything is fine except for the cache test.

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