Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate api tests warning #43

Open
abulte opened this issue Dec 5, 2022 · 0 comments
Open

Investigate api tests warning #43

abulte opened this issue Dec 5, 2022 · 0 comments

Comments

@abulte
Copy link
Contributor

abulte commented Dec 5, 2022

$ poetry run pytest tests/test_api.py
================================= test session starts ==================================
platform darwin -- Python 3.10.8, pytest-7.2.0, pluggy-1.0.0
rootdir: /Users/alexandre/Developer/Etalab/udata-hydra, configfile: pyproject.toml
plugins: asyncio-0.18.3, mock-3.10.0, requests-mock-1.10.0, anyio-3.6.2
asyncio: mode=strict
collected 13 items

tests/test_api.py .............                                                  [100%]

=================================== warnings summary ===================================
tests/test_api.py: 930 warnings
  /Users/alexandre/Developer/Etalab/udata-hydra/.venv/lib/python3.10/site-packages/minicli/__init__.py:175: DeprecationWarning: There is no current event loop
    asyncio.get_event_loop().run_until_complete(fut)

tests/test_api.py: 30 warnings
  /Users/alexandre/Developer/Etalab/udata-hydra/.venv/lib/python3.10/site-packages/minicli/__init__.py:27: DeprecationWarning: There is no current event loop
    asyncio.get_event_loop().run_until_complete(res)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== 13 passed, 960 warnings in 5.36s ===========================
@abulte abulte changed the title Investigate api warning Investigate api tests warning Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant