Comments (3)
Hi @fabaff, sorry about the lack of answer, didn't saw this one, nor the PR in #10...
I will review this over the current month (I need to mine some free time to do it 🥵, but it should be quick to fix)
from aiopvpc.
It seems related to the pytest environment when running the test suite:
=============================== warnings summary ===============================
tests/test_pvpc.py: 11 warnings
/nix/store/69jp5jhv1v79zk2dlv5vy9ssz89bik9w-python3.8-pytest-6.2.2/lib/python3.8/site-packages/_pytest/python.py:172: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped.
You need to install a suitable plugin for your async framework, for example:
- anyio
- pytest-asyncio
- pytest-tornasync
- pytest-trio
- pytest-twisted
warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
================== 1 passed, 14 skipped, 11 warnings in 0.47s ==================
- "install a suitable plugin for your async framework"
In other projects I've used pytest-asyncio
in dev dependencies, but this one is using pytest-aiohttp
, could that be the problem?
Running tests locally (macOS) with a fresh poetry env is going ok, with 12 tests passing and 3 skipped (as these are the ones that make real calls)
from aiopvpc.
closed by #13
from aiopvpc.
Related Issues (20)
- Despues del cambio de tarifas del 1/junio no funciona HOT 3
- Atributo para obtener el precio actual HOT 8
- Setting development environment HOT 4
- Node red integration HOT 2
- Attributes are referred to current and next_day prices HOT 2
- ¿No hay problema de no utilizar token? HOT 1
- No funciona la integración con HA desde el 2 de noviembre HOT 30
- Include self-consumption values HOT 1
- Sensor unavailable desde 02/11 (con actualización) HOT 4
- sensor.pvpc: repeated bad data update, mark component as unavailable source HOT 13
- Component errors in ha log HOT 4
- Sensor unit of measurement should use ISO 4217 monetary format HOT 1
- Recuperar datos que están a 0 por el fallo
- Detected code that uses str for device registry entry_type HOT 1
- Test failures with holidays-0.13 HOT 1
- Add gas compensation cost HOT 7
- Tag the source HOT 1
- aiopvpc - Repository structure for v4.1.0 is not compliant HOT 3
- openevse don't works in HA Hacs HOT 1
- Integrar precio excedentes de autoconsumo en el índice HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiopvpc.