Skip to content

@ptone /gist:0764601b524fb87a690d secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
lab-imac-11:tests admin$ PYTHONPATH=.. /usr/local/bin/python runtests.py --settings=test_sqlite queries.Queries1Tests.test_tickets_2076_7256
Creating test database for alias 'default'...
Creating test database for alias 'other'...
F
======================================================================
FAIL: test_tickets_2076_7256 (regressiontests.queries.tests.Queries1Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/admin/Desktop/django/tests/regressiontests/queries/tests.py", line 437, in test_tickets_2076_7256
['<Item: one>', '<Item: two>', '<Item: one>', '<Item: two>', '<Item: four>']
File "/Users/admin/Desktop/django/django/test/testcases.py", line 776, in assertQuerysetEqual
return self.assertEqual(list(items), values)
AssertionError: Lists differ: [] != [u'<Item: one>', u'<Item: two>...
Second list contains 5 additional elements.
First extra element 0:
<Item: one>
- []
+ [u'<Item: one>',
+ u'<Item: two>',
+ u'<Item: one>',
+ u'<Item: two>',
+ u'<Item: four>']
----------------------------------------------------------------------
Ran 1 test in 0.033s
FAILED (failures=1)
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
lab-imac-11:tests admin$ PYTHONPATH=.. /Library/Frameworks/Python.framework/Versions/2.7/bin/python runtests.py --settings=test_sqlite queries.Queries1Tests.test_tickets_2076_7256
Creating test database for alias 'default'...
Creating test database for alias 'other'...
.
----------------------------------------------------------------------
Ran 1 test in 0.031s
OK
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
lab-imac-11:tests admin$ /Library/Frameworks/Python.framework/Versions/2.7/bin/python --version
Python 2.7.5
lab-imac-11:tests admin$ /usr/local/bin/python --version
Python 2.7.5
lab-imac-11:tests admin$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.