petermr / amiclimate

software and material for managing climate knowledge
Apache License 2.0
0 stars 0 forks source link

Failed tests while running pytest with amiclimate #6

Open flower1430 opened 5 months ago

flower1430 commented 5 months ago

System Information

Windows 10, python 3.9.7

Checked out latest amiclimate

git pull

Run pytest

Outcomes


C:\Users\ADMIN\Desktop\sc_pyami\amiclimate\test\test_un.py:1593: AssertionError
=================================================================== short test summary info ====================================================================
FAILED test/test_un.py::TestIPCC::test_download_wg_chapter_spm_ts_using_dict_IMPORTANT - AttributeError: 'NoneType' object has no attribute 'xpath'
FAILED test/test_un.py::TestIPCC::test_ipcc_syr_lr_toc - AssertionError: assert 'Chapter 3: M...ng-term goals' == 'SYR Longer Report'
FAILED test/test_un.py::TestIPCC::test_ipcc_syr_lr_toc_full - IndexError: list index out of range
FAILED test/test_un.py::TestIPCC::test_symbol_indir - AssertionError: found 57 elements in C:\Users\ADMIN\Desktop\sc_pyami\amiclimate\temp\queries\methane_nor...
FAILED test/test_un.py::TestIPCC::test_symbolic_xpaths - AssertionError: found 10 elements in C:\Users\ADMIN\Desktop\sc_pyami\amiclimate\temp\queries\methane_...
FAILED test/test_un.py::TestUNFCCC::test_make_nested_divs - AssertionError: assert False
===================================================== 6 failed, 49 passed, 19 skipped in 416.27s (0:06:56) =====================================================
Smritiabcd commented 5 months ago
FAILED test_un.py::TestIPCC::test_ipcc_syr_lr_toc - AssertionError: assert 'Chapter 3: M...ng-term goals' == 'SYR Longer Report'
FAILED test_un.py::TestIPCC::test_ipcc_syr_lr_toc_full - IndexError: list index out of range
FAILED test_un.py::TestIPCC::test_symbol_indir - AssertionError: found 57 elements in C:\Users\asus\Desktop\Semantic\amiclimate\temp\queries\methane_norefs2.html, e...
FAILED test_un.py::TestIPCC::test_symbolic_xpaths - AssertionError: found 10 elements in C:\Users\asus\Desktop\Semantic\amiclimate\temp\queries\methane_refs1.html
FAILED test_un.py::TestUNFCCC::test_make_nested_divs - AssertionError: assert False
================================ 5 failed, 50 passed, 19 skipped in 789.83s (0:13:09) =================================
petermr commented 5 months ago

Macos 13.6 PYTHON 3.8.3

====================== short test summary info =======================
FAILED test/test_un.py::TestIPCC::test_download_wg_chapter_spm_ts_using_dict_IMPORTANT_NO_BODY
FAILED test/test_un.py::TestIPCC::test_gatsby_mini_pipeline_NO_BODY
FAILED test/test_un.py::TestIPCC::test_remove_gatsby_markup_for_report_types_NO_BODY
FAILED test/test_un.py::TestIPCC::test_remove_gatsby_markup_from_all_chapters_NO_BODY
FAILED test/test_un.py::TestIPCC::test_remove_wordpress_markup_for_report_types
FAILED test/test_un.py::TestIPCC::test_remove_wordpress_markup_from_all_srs_and_add_ids_NO_BODY
FAILED test/test_un.py::TestIPCC::test_search_all_chapters_with_query_words_climate_terms_PHRASE_FILE
FAILED test/test_un.py::TestIPCC::test_search_all_chapters_with_query_words_commandline_no_children_error_MISS_METHOD
FAILED test/test_un.py::TestIPCC::test_search_all_chapters_with_query_words_country_MISS_METHOD
FAILED test/test_un.py::TestIPCC::test_search_all_chapters_with_query_words_no_paras_MISS_METHOD
FAILED test/test_un.py::TestIPCC::test_search_with_xpaths_no_paras_error_ASSERT
FAILED test/test_un.py::TestIPCC::test_symbol_indir_no_paras_error_BAD_BODY
FAILED test/test_un.py::TestIPCC::test_symbolic_xpaths_fails_NO_FILE
= 13 failed, 46 passed, 20 skipped, 2 warnings in 125.02s (0:02:05) ==
(base) pm286macbook-2:amiclimate pm286$ python -v