Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

pre-commit errors and testing exceptions #353

Closed
zzeppozz opened this issue Jul 1, 2022 · 3 comments
Closed

pre-commit errors and testing exceptions #353

zzeppozz opened this issue Jul 1, 2022 · 3 comments
Assignees
Labels
bug Something isn't working testing Tasks related to testing and needed tests.

Comments

@zzeppozz
Copy link
Contributor

zzeppozz commented Jul 1, 2022

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Run pre-commit and pytest in the main repo directory

Expected behavior

Pass all tests and produce no pre-commit errors

@zzeppozz zzeppozz added bug Something isn't working testing Tasks related to testing and needed tests. labels Jul 1, 2022
@zzeppozz zzeppozz self-assigned this Jul 1, 2022
@zzeppozz zzeppozz mentioned this issue Jul 1, 2022
5 tasks
@zzeppozz
Copy link
Contributor Author

zzeppozz commented Jul 1, 2022

Two errors are related to pre-commit actions/setup-python@v4. Bug in setup-python, Info at actions/setup-python#433 . Fix by adding with: python-version: '3.x'

@zzeppozz
Copy link
Contributor Author

zzeppozz commented Jul 1, 2022

Have not found source of PytestUnraisableExceptionWarning.
3 failed, 10 errors, 387 passed

FAILED tests/test_plots/test_map_plots.py::test_create_point_heatmap_matrix_known_data
FAILED tests/test_plots/test_map_plots.py::test_create_point_heatmap_matrix_random_data
FAILED tests/test_plots/test_map_plots.py::test_plot_matrix_points - pytest.P...

ERROR tests/test_data_preparation/test_occurrence_splitter.py::test_one_dwca
ERROR tests/test_data_preparation/test_occurrence_splitter.py::test_one_csv
ERROR tests/test_data_preparation/test_occurrence_splitter.py::test_complex
ERROR tests/test_tools/test_split_occurrence_data.py::test_one_dwca - pytest....
ERROR tests/test_tools/test_split_occurrence_data.py::test_one_dwca_config_file
ERROR tests/test_tools/test_split_occurrence_data.py::test_one_csv - pytest.P...
ERROR tests/test_tools/test_split_occurrence_data.py::test_complex - pytest.P...
ERROR tests/test_tools/test_split_occurrence_data.py::test_multiple_key_fields_config
ERROR tests/test_tutorials/test_aggregate_occurrence_data.py::test_instructions_python
ERROR tests/test_tutorials/test_aggregate_occurrence_data.py::test_instructions_console_script

@zzeppozz zzeppozz changed the title pre-commit and testing errors pre-commit errors and testing exceptions Dec 21, 2022
@zzeppozz
Copy link
Contributor Author

pre-commit hooks pass, testing exceptions fixed (but tests must be updated and extended)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working testing Tasks related to testing and needed tests.
Projects
None yet
Development

No branches or pull requests

1 participant