Skip to content

Instantly share code, notes, and snippets.

@ptone
Created August 23, 2013 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptone/0764601b524fb87a690d to your computer and use it in GitHub Desktop.
Save ptone/0764601b524fb87a690d to your computer and use it in GitHub Desktop.
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