Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\Users\nmyle\OneDrive\Desktop\flaskcode\flaskblog2> python -m pytest
- ============================================================================== test session starts ===============================================================================
- platform win32 -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0
- rootdir: C:\Users\nmyle\OneDrive\Desktop\flaskcode\flaskblog2
- plugins: anyio-3.5.0
- collected 4 items
- app\tests\functional\test_routes.py ..x [ 75%]
- app\tests\unit\test_models.py . [100%]
- ================================================================================ warnings summary ================================================================================
- ..\..\..\..\anaconda3.1\lib\site-packages\flask\json\__init__.py:31
- 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.
- _slash_escape = "\\/" not in _json.dumps("/")
- ..\..\..\..\anaconda3.1\lib\site-packages\flask\json\__init__.py:61
- 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.
- class JSONEncoder(_json.JSONEncoder):
- ..\..\..\..\anaconda3.1\lib\site-packages\flask\json\__init__.py:103
- 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.
- class JSONDecoder(_json.JSONDecoder):
- app\tests\functional\test_routes.py:85
- app\tests\functional\test_routes.py:85: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_verified_email will be ignored
- def test_verified_email(token_client, new_user):
- app/tests/functional/test_routes.py::test_register_page_get
- app/tests/functional/test_routes.py::test_register_page_post
- 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.
- rv = _json.dumps(obj, **kwargs)
- -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement