Advertisement
Guest User

Untitled

a guest
Aug 31st, 2022
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. PS C:\Users\nmyle\OneDrive\Desktop\flaskcode\flaskblog2> python -m pytest
  2. ============================================================================== test session starts ===============================================================================
  3. platform win32 -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0
  4. rootdir: C:\Users\nmyle\OneDrive\Desktop\flaskcode\flaskblog2
  5. plugins: anyio-3.5.0
  6. collected 4 items
  7.  
  8. app\tests\functional\test_routes.py ..x [ 75%]
  9. app\tests\unit\test_models.py . [100%]
  10.  
  11. ================================================================================ warnings summary ================================================================================
  12. ..\..\..\..\anaconda3.1\lib\site-packages\flask\json\__init__.py:31
  13. C:\Users\nmyle\anaconda3.1\lib\site-packages\flask\json\__init__.py:31: DeprecationWarning: Importing 'itsdangerous.json' is deprecated and will be removed in ItsDangerous 2.1. Use Python's 'json' module instead.
  14. _slash_escape = "\\/" not in _json.dumps("/")
  15.  
  16. ..\..\..\..\anaconda3.1\lib\site-packages\flask\json\__init__.py:61
  17. C:\Users\nmyle\anaconda3.1\lib\site-packages\flask\json\__init__.py:61: DeprecationWarning: Importing 'itsdangerous.json' is deprecated and will be removed in ItsDangerous 2.1. Use Python's 'json' module instead.
  18. class JSONEncoder(_json.JSONEncoder):
  19.  
  20. ..\..\..\..\anaconda3.1\lib\site-packages\flask\json\__init__.py:103
  21. C:\Users\nmyle\anaconda3.1\lib\site-packages\flask\json\__init__.py:103: DeprecationWarning: Importing 'itsdangerous.json' is deprecated and will be removed in ItsDangerous 2.1. Use Python's 'json' module instead.
  22. class JSONDecoder(_json.JSONDecoder):
  23.  
  24. app\tests\functional\test_routes.py:85
  25. app\tests\functional\test_routes.py:85: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_verified_email will be ignored
  26. def test_verified_email(token_client, new_user):
  27.  
  28. app/tests/functional/test_routes.py::test_register_page_get
  29. app/tests/functional/test_routes.py::test_register_page_post
  30. C:\Users\nmyle\anaconda3.1\lib\site-packages\flask\json\__init__.py:211: DeprecationWarning: Importing 'itsdangerous.json' is deprecated and will be removed in ItsDangerous 2.1. Use Python's 'json' module instead.
  31. rv = _json.dumps(obj, **kwargs)
  32.  
  33. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement