Skip to content

Instantly share code, notes, and snippets.

@cpina
Created February 14, 2024 08:37
Show Gist options
  • Save cpina/1856ceb5af850c21badefea04d44f1ec to your computer and use it in GitHub Desktop.
Save cpina/1856ceb5af850c21badefea04d44f1ec to your computer and use it in GitHub Desktop.
simplemonitor pytest
carles@pinux:[v1.12.0]~/git/simplemonitor$ date
dimecres, 14 de febrer de 2024, 08:35:18 GMT
carles@pinux:[v1.12.0]~/git/simplemonitor$ pytest
============================================================================= test session starts =============================================================================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
PySide2 5.15.8 -- Qt runtime 5.15.8 -- Qt compiled 5.15.8
rootdir: /home/carles/git/simplemonitor
plugins: mock-3.12.0, socket-0.6.0, anyio-3.6.2, cov-4.0.0, qt-4.2.0+repack, requests-mock-1.9.3, xvfb-2.0.0
collected 160 items
tests/test_alerter.py ....................................................................... [ 44%]
tests/test_envconfig.py .. [ 45%]
tests/test_fortysixelks.py . [ 46%]
tests/test_host.py .......... [ 52%]
tests/test_htmllogger.py . [ 53%]
tests/test_logger.py ......................... [ 68%]
tests/test_main.py ........... [ 75%]
tests/test_monitor.py ............... [ 85%]
tests/test_network_new.py .. [ 86%]
tests/test_service.py ... [ 88%]
tests/test_util.py ................... [100%]
============================================================================== warnings summary ===============================================================================
../../../../usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py:139
/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py:139: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
return original_import(name, *args, **kwargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================= 160 passed, 1 warning in 4.00s ========================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment