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):
commit 2b7190cffd4d8f5f9ca57e320675724cb52ec52e (HEAD -> dev, upstream/dev, upstream/HEAD)
Merge: 701d788 25c897a
Author: Jeremy Maurer <maurer.jeremy@gmail.com>
Date: Thu Jul 11 22:13:41 2024 -0500
Merge pull request #663 from dbekaert/Changelog
Update CHANGELOG.md
- OS: Arch Linux 5.15.153.1-microsoft-standard-WSL2 on Windows 10
- Python v3.12.3
- conda v24.5.0
Additional context
Add any other context about the problem her
Describe the bug
Both of the tests in
test_processWM.py(test_checkContainmentandtest_checkContainment2) are set to only do anything if a certainTEST_DIR / 'scenario_1/weather_files/ERA-5_2020_01_03_T23_00_00.ncexists. 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_checkContainmentin the debuggergetWM.files[0]and note that this path does not existassertstatementExpected behavior
These tests should assert something before exiting.
Desktop (please complete the following information):
Additional context
Add any other context about the problem her