-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
@tyarkoni I'm trying to get tests up and running. This is what I get with python 2.7 (anaconda 1.8) on a recent MacBookPro (all dependencies listed in requirements.txt met from met via conda/pip).
======================================================================
ERROR: testFrontiersSource (ace.tests.test_ace.TestACE)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dengemann/github/ACE/ace/tests/test_ace.py", line 33, in testFrontiersSource
article = source.parse_article(html)
File "/Users/dengemann/github/ACE/ace/sources.py", line 362, in parse_article
t = self.parse_table(table_html)
File "/Users/dengemann/github/ACE/ace/sources.py", line 382, in parse_table
return super(FrontiersSource, self).parse_table(table)
File "/Users/dengemann/github/ACE/ace/sources.py", line 174, in parse_table
return tableparser.parse_table(data)
File "/Users/dengemann/github/ACE/ace/tableparser.py", line 215, in parse_table
found_xyz = regex.search('\d+.*\d+.*\d+', '/'.join(r)) # use this later
TypeError: sequence item 17: expected string or Unicode, NoneType found
======================================================================
FAIL: testDatabaseProcessingStream (ace.tests.test_ace.TestACE)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dengemann/github/ACE/ace/tests/test_ace.py", line 71, in testDatabaseProcessingStream
self.assertEqual(len(self.db.articles), 6)
AssertionError: 5 != 6
=====================================================================
FAIL: testPlosSource (ace.tests.test_ace.TestACE)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dengemann/github/ACE/ace/tests/test_ace.py", line 67, in testPlosSource
self.assertEqual(t.n_activations, 24)
AssertionError: 10 != 24
======================================================================
FAIL: testScienceDirectSource (ace.tests.test_ace.TestACE)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dengemann/github/ACE/ace/tests/test_ace.py", line 47, in testScienceDirectSource
self.assertEqual(len(tables), 3)
AssertionError: 0 != 3Any hint would be highly appreciated.
Metadata
Metadata
Assignees
Labels
No labels