You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Both of the tests in test_processWM.py (test_checkContainment and test_checkContainment2) are set to only do anything if a certain TEST_DIR / 'scenario_1/weather_files/ERA-5_2020_01_03_T23_00_00.nc exists. This file does not exist, however, and so these tests are running without asserting anything.
Maybe I am missing something. Could I be misunderstanding the purpose of these tests?
To Reproduce
Steps to reproduce the behavior:
Pause test_processWM.py::test_checkContainment in the debugger
See the path stored in getWM.files[0] and note that this path does not exist
Observe that the function finishes without ever reaching an assert statement
Expected behavior
These tests should assert something before exiting.
Desktop (please complete the following information):
Describe the bug
Both of the tests in
test_processWM.py
(test_checkContainment
andtest_checkContainment2
) are set to only do anything if a certainTEST_DIR / 'scenario_1/weather_files/ERA-5_2020_01_03_T23_00_00.nc
exists. This file does not exist, however, and so these tests are running without asserting anything.Maybe I am missing something. Could I be misunderstanding the purpose of these tests?
To Reproduce
Steps to reproduce the behavior:
test_processWM.py::test_checkContainment
in the debuggergetWM.files[0]
and note that this path does not existassert
statementExpected behavior
These tests should assert something before exiting.
Desktop (please complete the following information):
Additional context
Add any other context about the problem her
The text was updated successfully, but these errors were encountered: