Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6142 closed (worksforme)

trunk does not pass tests

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

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 Changed 7 years ago by Karen Tracey <kmtracey@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

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 Changed 7 years ago by empty

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