openclimatefix / open-source-quartz-solar-forecast

Open Source Solar Site Level Forecast
MIT License
55 stars 50 forks source link

Make sure all tests work #187

Open peterdudfield opened 2 weeks ago

peterdudfield commented 2 weeks ago

Detailed Description

Currently some of the tests fail when not running on the OCF github. This is due to some secrets not being shared.

Context

Screenshot 2024-08-30 at 08 14 26

Possible Implementation

The 4 tests that currenlty fail could be moved to integration tests. This could only run on main. It would be good if we copy these tests and adjusted them into unit tests. I think the main thing is to mock the HF data that is downloaded.

peterdudfield commented 5 days ago

Current tests are failling, there were working here - , but not here. Is this due to a new package being released?

peterdudfield commented 5 days ago

Cattrs 24.1.0, fast api 0.114.0, msgpack 1.0.8, multidict 6.05, nwharls 1.6.3, protobuf 5.28.0, pyasn1 0.6.0, pyasn modules, pytz 2024.01

Are the recent package changes