m0rp43us / openmeteopy

openmeteopy is a client Python wrapper library for Open-Meteo web API. It allows quick and easy consumption of OM data from Python applications via a simple object model and in a human-friendly fashion.
https://pypi.org/project/openmeteo-py/0.0.1/
MIT License
128 stars 29 forks source link

tests don't work #12

Closed hemna closed 7 months ago

hemna commented 1 year ago
╭─openmeteopy/tests on  main [!?] via 🐍 v3.9.5 (.venv) ❯
└─> python test.py
__main__
Traceback (most recent call last):
  File "/Users/i530566/devel/mine/hamradio/openmeteopy/tests/test.py", line 11, in <module>
    hourly = Hourly()
TypeError: 'module' object is not callable
╭─openmeteopy/tests on  main [!?] via 🐍 v3.9.5 (.venv) ❯
└─>
╭─openmeteopy/tests on  main [!?] via 🐍 v3.9.5 (.venv) ❯
└─> python test1.py
Traceback (most recent call last):
  File "/Users/i530566/devel/mine/hamradio/openmeteopy/tests/test1.py", line 3, in <module>
    from mock import patch
ModuleNotFoundError: No module named 'mock'