Closed jknlsn closed 8 years ago
There are still some failing tests:
Failure in test.test_importer.TestImporterLoad.test_find_author _StringException: Traceback (most recent call last): File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_importer.py", line 166, in test_find_author Equals("fore_name last_name")) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: u'f' != 'fore_name last_name' Failure in test.test_importer.TestImporterLoad.test_run_query_against_article_0_MATCH_a_Author_RETURN_a _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_importer.py", line 159, in test_run_query_against_article Equals(value)) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: {u'name': u'f'} != {'name': 'fore_name last_name'} Failure in test.test_parsexml.TestFileToElementTree.test_parsing_author_with_collective_name _StringException: Traceback (most recent call last): File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 182, in test_parsing_author_with_collective_name self.assertThat(result["Author"], Equals("collective")) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: ['collective'] != 'collective' Failure in test.test_parsexml.TestFileToElementTree.test_parsing_fields_with_control_characters_4_Author _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 288, in test_parsing_fields_with_control_characters Equals(EXPECTED_ENTRY_VALUES[entry])) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: ['fore_name\n\t\n last_name\n\t\n'] != 'fore_name last_name' Failure in test.test_parsexml.TestFileToElementTree.test_parsing_file_in_normal_case_4_Author _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 144, in test_parsing_file_in_normal_case Equals(EXPECTED_ENTRY_VALUES[entry])) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: ['fore_name last_name'] != 'fore_name last_name' Failure in test.test_parsexml.TestFileToElementTree.test_parsing_file_with_missing_optional_fields_4_Author _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 168, in test_parsing_file_with_missing_optional_fields self.assertThat(result[entry], Is(None)) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: [] is not None Failure in test.test_parsexml.TestFileToElementTree.test_parsing_file_with_no_fields_throws _StringException: Traceback (most recent call last): File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 190, in test_parsing_file_with_no_fields_throws parsexml.file_to_element_tree(stream) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 1023, in exit raise AssertionError(error_msg) AssertionError: NoFieldsError not raised.
There are still some failing tests:
Failure in test.test_importer.TestImporterLoad.test_find_author _StringException: Traceback (most recent call last): File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_importer.py", line 166, in test_find_author Equals("fore_name last_name")) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: u'f' != 'fore_name last_name' Failure in test.test_importer.TestImporterLoad.test_run_query_against_article_0_MATCH_a_Author_RETURN_a _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_importer.py", line 159, in test_run_query_against_article Equals(value)) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: {u'name': u'f'} != {'name': 'fore_name last_name'} Failure in test.test_parsexml.TestFileToElementTree.test_parsing_author_with_collective_name _StringException: Traceback (most recent call last): File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 182, in test_parsing_author_with_collective_name self.assertThat(result["Author"], Equals("collective")) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: ['collective'] != 'collective' Failure in test.test_parsexml.TestFileToElementTree.test_parsing_fields_with_control_characters_4_Author _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 288, in test_parsing_fields_with_control_characters Equals(EXPECTED_ENTRY_VALUES[entry])) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: ['fore_name\n\t\n last_name\n\t\n'] != 'fore_name last_name' Failure in test.test_parsexml.TestFileToElementTree.test_parsing_file_in_normal_case_4_Author _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 144, in test_parsing_file_in_normal_case Equals(EXPECTED_ENTRY_VALUES[entry])) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: ['fore_name last_name'] != 'fore_name last_name' Failure in test.test_parsexml.TestFileToElementTree.test_parsing_file_with_missing_optional_fields_4_Author _StringException: Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/nose_parameterized/parameterized.py", line 365, in standalonefunc return func((a + p.args), _p.kwargs) File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 168, in test_parsing_file_with_missing_optional_fields self.assertThat(result[entry], Is(None)) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: [] is not None Failure in test.test_parsexml.TestFileToElementTree.test_parsing_file_with_no_fields_throws _StringException: Traceback (most recent call last): File "/home/travis/build/smspillaz/pubmed-retraction-analysis/test/test_parsexml.py", line 190, in test_parsing_file_with_no_fields_throws parsexml.file_to_element_tree(stream) File "/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/testtools/testcase.py", line 1023, in exit raise AssertionError(error_msg) AssertionError: NoFieldsError not raised.