OpenEnergyPlatform / open-MaStR

A collaborative software to download the energy database Marktstammdatenregister (MaStR)
https://open-mastr.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
87 stars 19 forks source link

`test_db_query_to_csv` in `test_helpers.py` fails #451

Closed FlorianK13 closed 1 year ago

FlorianK13 commented 1 year ago

I get the following error when running the tests: FAILED tests/test_helpers.py::test_db_query_to_csv - FileNotFoundError: [Errno 2] No such file or directory: '~\.open-MaStR\data\dataversion-2023-07-17\bnetza_mastrgas...

@chrwm Do you understand the error and does the same error occur when you run the tests? I have deleted my .open-mastr folder once to work on a clean folder.

FlorianK13 commented 1 year ago

The latest runs in #454 now worked, but #450 failed again 🤔

FlorianK13 commented 1 year ago

The problems stem from the fact that github secrets are not passed to workflows triggered from a fork Pull request. Hence #450 fails and we do not need to fix anything in the test_db_query_to_csv