Skip to content

Instantly share code, notes, and snippets.

@wtneal
Created April 3, 2015 16:07
Show Gist options
  • Save wtneal/49f646edae8f7bb130f3 to your computer and use it in GitHub Desktop.
Save wtneal/49f646edae8f7bb130f3 to your computer and use it in GitHub Desktop.
New error output
vagrant@vagrant-ubuntu-trusty-64:/vagrant/text-geolocator$ sudo fig run web nosetests geolocator/app/tests/*
.......................F..............F..................E....
======================================================================
ERROR: Tests app.weighter.LocationAdminNames.__repr__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/geolocator/app/tests/test_weighter.py", line 104, in test__repr__good
s = self.codes.__repr__()
AttributeError: 'LocationAdminNamesTestCase' object has no attribute 'codes'
======================================================================
FAIL: Checks that the tagger produces the expected locations when tested
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/geolocator/app/tests/test_nlp.py", line 393, in test__Agric_Hum_Values
self.runTestForFilesWithName(name)
File "/code/geolocator/app/tests/test_nlp.py", line 384, in runTestForFilesWithName
assert expected == actual
AssertionError:
-------------------- >> begin captured stdout << ---------------------
['Lerma Valley', 'Mexico', 'Lerma Valley', 'Mexico', 'Mexico', 'CA', 'USA', 'Colegio de Mexico', 'Mexico', 'Mexico', 'Mexicoa', 'Lerma River', 'Mexicoa', 'Upper Lerma Valley', 'Mexico', 'Lerma River']
[u'Lerma', u'Valley', u'Mexico', u'Lerma', u'Valley', u'Mexico', u'CA', u'USA', u'Mexico', u'Mexico', u'Kundzewicz', u'Mexico', u'Lerma', u'River', u'Mexico', u'Mexico', u'Upper', u'Lerma', u'Valley', u'Mexico', u'Lerma', u'River', u'valley']
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Checks that the tagger produces the expected locations when tested
----------------------------------------------------------------------
Traceback (most recent call last):
File "/code/geolocator/app/tests/test_nlp.py", line 393, in test__Agric_Hum_Values
self.runTestForFilesWithName(name)
File "/code/geolocator/app/tests/test_nlp.py", line 384, in runTestForFilesWithName
assert expected == actual
AssertionError:
-------------------- >> begin captured stdout << ---------------------
['Lerma Valley', 'Mexico', 'Lerma Valley', 'Mexico', 'Mexico', 'CA', 'USA', 'Colegio de Mexico', 'Mexico', 'Mexico', 'Mexicoa', 'Lerma River', 'Mexicoa', 'Upper Lerma Valley', 'Mexico', 'Lerma River']
[u'Lerma', u'Valley', u'Mexico', u'Lerma', u'Valley', u'Mexico', u'CA', u'USA', u'Mexico', u'Mexico', u'Kundzewicz', u'Mexico', u'Lerma', u'River', u'Mexico', u'Mexico', u'Upper', u'Lerma', u'Valley', u'Mexico', u'Lerma', u'River', u'valley']
--------------------- >> end captured stdout << ----------------------
----------------------------------------------------------------------
Ran 62 tests in 203.166s
FAILED (errors=1, failures=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment