Recofinement tests result

Report generated on 19-Feb-2021 at 12:11:13 by pytest-html v3.1.1

Environment

CI true
JAVA_HOME /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64
Packages {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.2"}
Platform Linux-5.4.0-1039-azure-x86_64-with-glibc2.2.5
Plugins {"cov": "2.11.1", "flask": "1.1.0", "html": "3.1.1", "metadata": "1.11.0"}
Python 3.8.7

Summary

Coverage details: here

374 tests ran in 46.92 seconds.

374 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration
Passed functionnal/test_application.py::TestApplication::test_application_recommended 2.57
Test application recommended

        Test:
            GET: /api/application

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_recommended_one_page 0.03
Test application get recommended application page 1

        Test:
            GET: /api/application?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_recommended_big_page 0.03
Test application get recommended application page 9999999

        Test:
            GET: /api/application?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_recommended_zero_page 0.03
Test application get recommended application page 0

        Test:
            GET: /api/application?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_recommended_negative_page 0.03
Test application get recommended application page -1

        Test:
            GET: /api/application?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_recommended_bad_jwt 0.00
Test application get recommended application with bad JWT token 

        Test:
            GET: /api/application

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            header_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_recommended_fake_jwt 0.00
Test application get recommended application with fake JWT token 

        Test:
            GET: /api/application

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_recommended_no_jwt 0.00
Test application get recommended application without JWT token 

        Test:
            GET: /api/application

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search 0.04
Test application search

        Test:
            GET: /api/application/search/test app

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search_one_page 0.04
Test application search get page 1

        Test:
            GET: /api/application/search/test app?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search_zero_page 0.03
Test application search get page 0

        Test:
            GET: /api/application/search/test app?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search_big_page 0.03
Test application search get page 9999999

        Test:
            GET: /api/application/search/test app?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search_negative_page 0.03
Test application search get page -1

        Test:
            GET: /api/application/search/test app?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search_bad_jwt 0.00
Test application search with bad JWT token 

        Test:
            GET: /api/application/search/test app

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search_fake_jwt 0.01
Test application search with fake JWT token 

        Test:
            GET: /api/application/search/test app

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_search_no_jwt 0.00
Test application search without JWT token

        Test:
            GET: /api/application/search/test app

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_genre 0.02
Test application genre

        Test:
            GET: /api/application/genres

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_genre_no_jwt 0.00
Test application genre whithout JWT token

        Test:
            GET: /api/application/genres

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_genre_bad_jwt 0.00
Test application genre with bad JWT token 

        Test:
            GET: /api/application/genres

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_genre_fake_jwt 0.00
Test application genre with fake JWT token 

        Test:
            GET: /api/application/genres

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta 0.05
Test application user meta

        Test:
            GET: /api/book/<content_id>/meta

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_bad_content_id 0.03
Test application user meta with bad content_id

        Test:
            GET: /api/application/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_bad_jwt 0.00
Test application user meta with bad JWT token 

        Test:
            GET: /api/application/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_fake_jwt 0.00
Test application user meta with fake JWT token 

        Test:
            GET: /api/application/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_no_jwt 0.00
Test application user mate without JWT token

        Test:
            GET: /api/application/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_update 0.11
Test application user meta update

        Test:
            PATCH: /api/application/<content_id>/meta

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test1
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_update_bad_content_id 0.03
Test application user meta update with bad content_id

        Test:
            PATCH: /api/application/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_update_bad_jwt 0.00
Test application user meta update with bad JWT token 

        Test:
            PATCH: /api/application/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_update_fake_jwt 0.01
Test application user meta update with fake JWT token 

        Test:
            PATCH: /api/application/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_user_meta_update_no_jwt 0.00
Test application user meta update without JWT token 

        Test:
            PATCH: /api/application/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_bad_recommendation 0.04
Test application bad recommendation

        Test:
            GET: /api/application/<int:application_id>/bad_recommendation

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_bad_recommendation_bad_application_id 0.03
Test application bad recommendation with bad application ID

        Test:
            GET: /api/application/<int:application_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_bad_recommendation_bad_jwt 0.00
Test application bad recommendation with bad JWT token

        Test:
            GET: /api/application/<int:application_id>/bad_recommendation

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_bad_recommendation_fake_jwt 0.01
Test application bad recommendation with fake JWT token

        Test:
            GET: /api/application/<int:application_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_bad_recommendation_no_jwt 0.00
Test application bad recommendation without JWT token

        Test:
            GET: /api/application/<int:application_id>/bad_recommendation

        Expected result: 
            401, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_add_content 0.06
Test application add additional content
        Test:
            POST: /api/application/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            genre_test1 : Genre example
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_add_minimal_content 0.05
Test application add additional content
        Test:
            POST: /api/application/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_add_content_bad_jwt 0.00
Test application add additional content with bad JWT token
        Test:
            POST: /api/application/
        Expected result: 
            422
        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, to get the access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_add_content_fake_jwt 0.01
Test application add additional content with fake JWT token
        Test:
            POST: /api/application/
        Expected result: 
            404, {"status": False}
        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_add_content_no_jwt 0.00
Test application add additional content without JWT token
        Test:
            POST: /api/application/
        Expected result: 
            401, {"status": False}
        Args:
            test_client (app context): Flask application
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_get_additional_content 0.03
Test application get additional content
        Test:
            GET: /api/application/additional/
        Expected result: 
            200, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_validate_additional_content 0.40
Test application validate additional content
        Test:
            PUT: /api/application/<int:app_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_application.py::TestApplication::test_application_decline_additional_content 0.82
Test application validate decline content
        Test:
            DELETE: /api/application/<int:app_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_register 2.26
test user registration

        Test:
            POST: /api/auth/register

        Expected result:
            201, {"content": UserObject, "status" : True}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_register_email_exist 0.01
test user registration with already used email

        Test:
            POST: /api/auth/register

        Expected result:
            400, {"status" : False}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_login_ok 0.32
test user login

        Test:
            POST: /api/auth/login

        Expected result:
            200, {"content": UserObject, "status" : True}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_login_wrong_passd 0.26
test user login with wrong password

        Test:
            POST: /api/auth/login

        Expected result:
            401, {"status" : False}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_login_bad_email 0.00
test user login with wrong email

        Test:
            POST: /api/auth/login

        Expected result:
            401, {"status" : False}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_logout 0.11
test user logout 

        Test:
            POST: /api/auth/logout

        Expected result:
            204, b''

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_logout_no_jwt 0.00
test user logout whitout the token access

        Test:
            POST: /api/auth/logout

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_forget_passwd 0.56
test user forgot password

        Test:
            POST: /api/auth/forgot

        Expected result:
            200, {"status" : True}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_forget_passwd_bad_email 0.00
test user forgot password bad email

        Test:
            POST: /api/auth/forgot

        Expected result:
            200, {"status" : True}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_reset_passwd 0.63
test user reset password

        Test:
            POST: /api/auth/reset

        Expected result:
            200, {"status" : True}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_auth.py::TestAuth::test_reset_passwd_bad_token 0.81
test user reset password bad token

        Test:
            POST: /api/auth/reset

        Expected result:
            401, {"status" : False}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended 2.21
Test book recommended

        Test:
            GET: /api/book

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended_one_page 0.04
Test book get recommended book page 1

        Test:
            GET: /api/book?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended_big_page 0.03
Test book get recommended book page 9999999

        Test:
            GET: /api/book?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended_zero_page 0.03
Test book get recommended book page 0

        Test:
            GET: /api/book?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended_negative_page 0.03
Test book get recommended book page -1

        Test:
            GET: /api/book?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended_bad_jwt 0.00
Test book get recommended book with bad JWT token 

        Test:
            GET: /api/book

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            header_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended_fake_jwt 0.01
Test book get recommended book with fake JWT token 

        Test:
            GET: /api/book

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_recommended_no_jwt 0.00
Test book get recommended book without JWT token 

        Test:
            GET: /api/book

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search 0.04
Test book search

        Test:
            GET: /api/book/search/test book

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search_one_page 0.04
Test book search get page 1

        Test:
            GET: /api/book/search/test book?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search_zero_page 0.04
Test book search get page 0

        Test:
            GET: /api/book/search/test book?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search_big_page 0.04
Test book search get page 9999999

        Test:
            GET: /api/book/search/test book?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search_negative_page 0.03
Test book search get page -1

        Test:
            GET: /api/book/search/test book?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search_bad_jwt 0.00
Test book search with bad JWT token 

        Test:
            GET: /api/book/search/test book

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search_fake_jwt 0.01
Test book search with fake JWT token 

        Test:
            GET: /api/book/search/test book

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_search_no_jwt 0.00
Test book search without JWT token

        Test:
            GET: /api/book/search/test book

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta 0.05
Test book user meta

        Test:
            GET: /api/book/<content_id>/meta

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_bad_content_id 0.03
Test book user meta with bad content_id

        Test:
            GET: /api/book/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_bad_jwt 0.00
Test book user meta with bad JWT token 

        Test:
            GET: /api/book/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_fake_jwt 0.01
Test book user meta with fake JWT token 

        Test:
            GET: /api/book/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_no_jwt 0.00
Test book user mate without JWT token

        Test:
            GET: /api/book/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_update 0.05
Test book user meta update

        Test:
            PATCH: /api/book/<content_id>/meta

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test1
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_update_bad_content_id 0.03
Test book user meta update with bad content_id

        Test:
            PATCH: /api/book/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_update_bad_jwt 0.00
Test book user meta update with bad JWT token 

        Test:
            PATCH: /api/book/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_update_fake_jwt 0.01
Test book user meta update with fake JWT token 

        Test:
            PATCH: /api/book/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_user_meta_update_no_jwt 0.00
Test book user meta update without JWT token 

        Test:
            PATCH: /api/book/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_bad_recommendation 0.04
Test book bad recommendation

        Test:
            GET: /api/book/<int:content_id>/bad_recommendation

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_bad_recommendation_bad_content_id 0.03
Test book bad recommendation with bad book ID

        Test:
            GET: /api/book/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_bad_recommendation_bad_jwt 0.00
Test book bad recommendation with bad JWT token

        Test:
            GET: /api/book/<int:content_id>/bad_recommendation

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_bad_recommendation_fake_jwt 0.01
Test book bad recommendation with fake JWT token

        Test:
            GET: /api/book/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_bad_recommendation_no_jwt 0.00
Test book bad recommendation without JWT token

        Test:
            GET: /api/book/<int:content_id>/bad_recommendation

        Expected result: 
            401, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_add_content 0.04
Test book add additional content

        Test:
            POST: /api/book/

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_add_minimal_content 0.04
Test book add additional minimal content

        Test:
            POST: /api/book/

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_add_content_bad_jwt 0.00
Test book add additional minimal content with bad JWT token

        Test:
            POST: /api/book/

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_add_content_fake_jwt 0.01
Test book add additional minimal content with fake JWT token

        Test:
            POST: /api/book/

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_add_content_no_jwt 0.00
Test book add additional minimal content without JWT token

        Test:
            POST: /api/book/

        Expected result: 
            401, {"status": False}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_get_additional_content 0.03
Test book get additional content
        Test:
            GET: /api/book/additional/
        Expected result: 
            200, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_validate_additional_content 0.41
Test book validate additional content
        Test:
            PUT: /api/book/<int:book_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_book.py::TestBook::test_book_decline_additional_content 0.86
Test book validate decline content
        Test:
            DELETE: /api/book/<int:book_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended 1.82
Test game recommended

        Test:
            GET: /api/game

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended_one_page 0.03
Test game get recommended game page 1

        Test:
            GET: /api/game?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended_big_page 0.03
Test game get recommended game page 9999999

        Test:
            GET: /api/game?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended_zero_page 0.03
Test game get recommended game page 0

        Test:
            GET: /api/game?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended_negative_page 0.03
Test game get recommended game page -1

        Test:
            GET: /api/game?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended_bad_jwt 0.00
Test game get recommended game with bad JWT token 

        Test:
            GET: /api/game

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            header_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended_fake_jwt 0.00
Test game get recommended game with fake JWT token 

        Test:
            GET: /api/game

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_recommended_no_jwt 0.00
Test game get recommended game without JWT token 

        Test:
            GET: /api/game

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search 0.04
Test game search

        Test:
            GET: /api/game/search/test game

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search_one_page 0.04
Test game search get page 1

        Test:
            GET: /api/game/search/test game?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search_zero_page 0.03
Test game search get page 0

        Test:
            GET: /api/game/search/test game?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search_big_page 0.03
Test game search get page 9999999

        Test:
            GET: /api/game/search/test game?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search_negative_page 0.03
Test game search get page -1

        Test:
            GET: /api/game/search/test game?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search_bad_jwt 0.00
Test game search with bad JWT token 

        Test:
            GET: /api/game/search/test game

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search_fake_jwt 0.00
Test game search with fake JWT token 

        Test:
            GET: /api/game/search/test game

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_search_no_jwt 0.00
Test game search without JWT token

        Test:
            GET: /api/game/search/test game

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_genre 0.03
Test game genre

        Test:
            GET: /api/game/genres

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_genre_no_jwt 0.00
Test game genre whithout JWT token

        Test:
            GET: /api/game/genres

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_genre_bad_jwt 0.00
Test game genre with bad JWT token 

        Test:
            GET: /api/game/genres

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_genre_fake_jwt 0.00
Test game genre with fake JWT token 

        Test:
            GET: /api/game/genres

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta 0.06
Test game user meta

        Test:
            GET: /api/game/<content_id>/meta

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_bad_content_id 0.03
Test game user meta with bad content_id

        Test:
            GET: /api/game/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_bad_jwt 0.00
Test game user meta with bad JWT token 

        Test:
            GET: /api/game/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_fake_jwt 0.01
Test game user meta with fake JWT token 

        Test:
            GET: /api/game/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_no_jwt 0.00
Test game user mate without JWT token

        Test:
            GET: /api/game/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_update 0.06
Test game user meta update

        Test:
            PATCH: /api/game/<content_id>/meta

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test1
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_update_bad_content_id 0.03
Test game user meta update with bad content_id

        Test:
            PATCH: /api/game/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_update_bad_jwt 0.00
Test game user meta update with bad JWT token 

        Test:
            PATCH: /api/game/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_update_fake_jwt 0.01
Test game user meta update with fake JWT token 

        Test:
            PATCH: /api/game/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_user_meta_update_no_jwt 0.00
Test game user meta update without JWT token 

        Test:
            PATCH: /api/game/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_bad_recommendation 0.04
Test game bad recommendation

        Test:
            GET: /api/game/<int:content_id>/bad_recommendation

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_bad_recommendation_bad_content_id 0.03
Test game bad recommendation with bad game ID

        Test:
            GET: /api/game/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_bad_recommendation_bad_jwt 0.00
Test game bad recommendation with bad JWT token

        Test:
            GET: /api/game/<int:content_id>/bad_recommendation

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_bad_recommendation_fake_jwt 0.01
Test game bad recommendation with fake JWT token

        Test:
            GET: /api/game/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_bad_recommendation_no_jwt 0.00
Test game bad recommendation without JWT token

        Test:
            GET: /api/game/<int:content_id>/bad_recommendation

        Expected result: 
            401, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_add_content 0.06
Test game add additional content
        Test:
            POST: /api/game/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_add_minimal_content 0.04
Test game add additional minimal content
        Test:
            POST: /api/game/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_add_content_bad_jwt 0.00
Test game add additional minimal content with bad JWT token
        Test:
            POST: /api/game/
        Expected result: 
            422
        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, to get the access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_add_content_fake_jwt 0.01
Test game add additional minimal content with fake JWT token
        Test:
            POST: /api/game/
        Expected result: 
            404, {"status": False}
        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_add_content_no_jwt 0.00
Test game add additional minimal content without JWT token
        Test:
            POST: /api/game/
        Expected result: 
            401, {"status": False}
        Args:
            test_client (app context): Flask application
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_get_additional_content 0.03
Test game get additional content
        Test:
            GET: /api/game/additional/
        Expected result: 
            200, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_validate_additional_content 0.41
Test game validate additional content
        Test:
            PUT: /api/game/<int:game_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_game.py::TestGame::test_game_decline_additional_content 0.87
Test game validate decline content
        Test:
            DELETE: /api/game/<int:game_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_create_bad_jwt 1.45
Test group creation with bad JWT token 

        Test:
            POST: /api/group

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_create_fake_jwt 0.01
Test group creation with fake JWT token 

        Test:
            POST: /api/group

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_create_no_jwt 0.00
Test group creation without JWT token 

        Test:
            POST: /api/group

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_create 0.43
Test group creation

        Test:
            POST: /api/group

        Expected result: 
            201, {"status": True, "group": GroupObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_get_id_bad_jwt 0.30
Test group by id with bad JWT token  

        Test:
            GET: /api/group/<group_id>

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_get_id_no_jwt 0.02
Test group by id without JWT token  

        Test:
            GET: /api/group/<group_id>

        Expected result: 
            401, {"msg": "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_get_id_bad_group_id 0.02
Test group by id with bad id

        Test:
            GET: /api/group/<bad_group_id>

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_get_id 0.04
Test group by id

        Test:
            GET: /api/group/<group_id>

        Expected result: 
            201, {"status": True, "group": GroupObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_bad_group_id 0.03
Test group invitation with bad group id

        Test:
            POST: /api/group/<bad_group_id>/invitations

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_bad_owner_group_id 0.06
Test group invitation send from no group owner

        Test:
            POST: /api/group/<bad_group_id>/invitations

        Expected result: 
            403, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_bad_jwt 0.01
Test group invitation with bad JWT token

        Test:
            POST: /api/group/<group_id>/invitations

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
            user_test2 (User object): user test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_fake_jwt 0.02
Test group invitation with fake JWT token

        Test:
            POST: /api/group/<group_id>/invitations

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            user_test2 (User object): user test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation 0.09
Test group invitation 

        Test:
            POST: /api/group/<group_id>/invitations

        Expected result: 
            202, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_already_invited 0.06
Test group invitation user already invited

        Test:
            POST: /api/group/<group_id>/invitations

        Expected result: 
            400, {"status": False, "message": "Invitation already sended !"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_already_member 0.10
Test group invitation user already member

        Test:
            POST: /api/group/<bad_group_id>/invitations

        Expected result: 
            400, {"status": False, "message": "User is already a member of this group !"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_owner_invite_itself 0.06
Test group invitation owner invite itself

        Test:
            POST: /api/group/<group_id>/invitations

        Expected result: 
            400, {"status": False, "message": "You can not invite yourself to your group !"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test 1
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_invitation_no_jwt 0.02
Test group invitation without JWT token

        Test:
            POST: /api/group/<group_id>/invitations

        Expected result: 
            401, {"status": False, "msg": "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
            user_test2 (User object): user test 2
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_accept_invitation_bad_group 0.03
Test group accept invitation from bad group

        Test:
            PUT: /api/group/<bad_group_id>/invitations/<user_uuid>

        Expected result: 
            404, {"status": False, "message": "Group not found!"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test 1
            user_test2 (User object): user test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_accept_invitation_bad_jwt 0.03
Test group accept invitation with bad JWT token

        Test:
            PUT: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_accept_invitation_fake_jwt 0.05
Test group accept invitation with fake JWT token

        Test:
            PUT: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            404, {"status": False, "message": "Member not found!"}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_accept_invitation_no_jwt 0.03
Test group accept invitation without JWT token

        Test:
            PUT: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            401, {"status": False, "message": "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_accept_invitation_other_user 0.05
Test group accept invitation not intended to the user

        Test:
            PUT: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            403, {"status": False, "message": "Unable to accept an invitation that is not intended to you"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_accept_invitation_no_invitation 0.07
Test group accept nonexistent invitation

        Test:
            PUT: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            404, {"status": False, "message": "Invitation not found !"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_accept_invitation 0.13
Test group accept invitation

        Test:
            PUT: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            200, {"status": True, "message": "Member add to group", "group": GroupObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_invitation_bad_group 0.03
Test group delete invitation with bad group id

        Test:
            DELETE: /api/group/<bad_group_id>/invitations/<user_uuid>

        Expected result: 
            404, {"status": False, "message": "Group not found!"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test 1
            user_test2 (User object): user test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_invitation_bad_jwt 0.02
Test group delete invitation with bad JWT token

        Test:
            DELETE: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): fake HTTP header, with invalid signed access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_invitation_fake_jwt 0.04
Test group delete invitation with fake JWT token

        Test:
            DELETE: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            404, {"status": False, "message": "Member not found!"}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_invitation_no_jwt 0.03
Test group delete invitation with fake JWT token

        Test:
            DELETE: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            401, {"msg": "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_invitation_other_user 0.05
Test group delete invitation beloging to another user

        Test:
            DELETE: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            403, {"status": False, "message": "Unable to delete an invitation that is not intended to you if you are not the group owner"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_invitation_no_invitation 0.09
Test group delete nonexistent invitation

        Test:
            DELETE: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            404, {"status": False, "message": "Invitation not found !"}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_invitation 0.11
Test group delete invitation

        Test:
            DELETE: /api/group/<group_id>/invitations/<user_uuid>

        Expected result: 
            204

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test 1
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_bad_group_id 0.02
Test group delete group with bad id

        Test:
            DELETE: /api/group/<bad_group_id>

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_fake_jwt 0.02
Test group delete group with fake JWT token

        Test:
            DELETE: /api/group/<group_id>

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_bad_jwt 0.01
Test group delete group with bad JWT token

        Test:
            DELETE: /api/group/<group_id>

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete_no_jwt 0.01
Test group delete group without JWT token

        Test:
            DELETE: /api/group/<group_id>

        Expected result: 
            401, {"msg": "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
            group_test (Group object): group test
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_leave 0.11
Test group leave group

        Test:
            DELETE: /api/group/<group_id>

        Expected result: 
            204

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test2 (User object): user test 2
            group_test2 (Group object): group test 2
        
No log output captured.
Passed functionnal/test_group.py::TestGroup::test_group_delete 0.89
Test group delete group

        Test:
            DELETE: /api/group/<group_id>

        Expected result: 
            204

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            group_test (Group object): group test 
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended 1.81
Test movie recommended

        Test:
            GET: /api/movie

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended_one_page 0.03
Test movie get recommended movie page 1

        Test:
            GET: /api/movie?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended_big_page 0.03
Test movie get recommended movie page 9999999

        Test:
            GET: /api/movie?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended_zero_page 0.03
Test movie get recommended movie page 0

        Test:
            GET: /api/movie?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended_negative_page 0.03
Test movie get recommended movie page -1

        Test:
            GET: /api/movie?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended_bad_jwt 0.00
Test movie get recommended movie with bad JWT token 

        Test:
            GET: /api/movie

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            header_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended_fake_jwt 0.01
Test movie get recommended movie with fake JWT token 

        Test:
            GET: /api/movie

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_recommended_no_jwt 0.00
Test movie get recommended movie without JWT token 

        Test:
            GET: /api/movie

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search 0.03
Test movie search

        Test:
            GET: /api/movie/search/test movie

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search_one_page 0.03
Test movie search get page 1

        Test:
            GET: /api/movie/search/test movie?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search_zero_page 0.03
Test movie search get page 0

        Test:
            GET: /api/movie/search/test movie?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search_big_page 0.04
Test movie search get page 9999999

        Test:
            GET: /api/movie/search/test movie?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search_negative_page 0.03
Test movie search get page -1

        Test:
            GET: /api/movie/search/test movie?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search_bad_jwt 0.00
Test movie search with bad JWT token 

        Test:
            GET: /api/movie/search/test movie

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search_fake_jwt 0.00
Test movie search with fake JWT token 

        Test:
            GET: /api/movie/search/test movie

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_search_no_jwt 0.00
Test movie search without JWT token

        Test:
            GET: /api/movie/search/test movie

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_genre 0.02
Test movie genre

        Test:
            GET: /api/movie/genres

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_genre_no_jwt 0.00
Test movie genre whithout JWT token

        Test:
            GET: /api/movie/genres

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_genre_bad_jwt 0.00
Test movie genre with bad JWT token 

        Test:
            GET: /api/movie/genres

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_genre_fake_jwt 0.00
Test movie genre with fake JWT token 

        Test:
            GET: /api/movie/genres

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta 0.05
Test movie user meta

        Test:
            GET: /api/book/<content_id>/meta

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_bad_content_id 0.03
Test movie user meta with bad content_id

        Test:
            GET: /api/movie/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_bad_jwt 0.00
Test movie user meta with bad JWT token 

        Test:
            GET: /api/movie/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_fake_jwt 0.01
Test movie user meta with fake JWT token 

        Test:
            GET: /api/movie/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_no_jwt 0.00
Test movie user mate without JWT token

        Test:
            GET: /api/movie/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_update 0.06
Test movie user meta update

        Test:
            PATCH: /api/movie/<content_id>/meta

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test1
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_update_bad_content_id 0.03
Test movie user meta update with bad content_id

        Test:
            PATCH: /api/movie/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_update_bad_jwt 0.00
Test movie user meta update with bad JWT token 

        Test:
            PATCH: /api/movie/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_update_fake_jwt 0.01
Test movie user meta update with fake JWT token 

        Test:
            PATCH: /api/movie/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_user_meta_update_no_jwt 0.00
Test movie user meta update without JWT token 

        Test:
            PATCH: /api/movie/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_bad_recommendation 0.04
Test movie bad recommendation

        Test:
            GET: /api/movie/<int:content_id>/bad_recommendation

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_bad_recommendation_bad_content_id 0.03
Test movie bad recommendation with bad movie ID

        Test:
            GET: /api/movie/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_bad_recommendation_bad_jwt 0.00
Test movie bad recommendation with bad JWT token

        Test:
            GET: /api/movie/<int:content_id>/bad_recommendation

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_bad_recommendation_fake_jwt 0.01
Test movie bad recommendation with fake JWT token

        Test:
            GET: /api/movie/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_bad_recommendation_no_jwt 0.00
Test movie bad recommendation without JWT token

        Test:
            GET: /api/movie/<int:content_id>/bad_recommendation

        Expected result: 
            401, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_add_content 0.06
Test movie add additional content
        Test:
            POST: /api/movie/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_add_minimal_content 0.04
Test movie add additional minimal content
        Test:
            POST: /api/movie/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_add_content_bad_jwt 0.00
Test movie add additional minimal content with bad JWT token
        Test:
            POST: /api/movie/
        Expected result: 
            422
        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, to get the access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_add_content_fake_jwt 0.01
Test movie add additional minimal content with fake JWT token
        Test:
            POST: /api/movie/
        Expected result: 
            404, {"status": False}
        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_add_content_no_jwt 0.00
Test movie add additional minimal content without JWT token
        Test:
            POST: /api/movie/
        Expected result: 
            401, {"status": False}
        Args:
            test_client (app context): Flask application
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_get_additional_content 0.03
Test movie get additional content
        Test:
            GET: /api/movie/additional/
        Expected result: 
            200, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_validate_additional_content 0.39
Test movie validate additional content
        Test:
            PUT: /api/movie/<int:movie_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_movie.py::TestMovie::test_movie_decline_additional_content 1.66
Test movie validate decline content
        Test:
            DELETE: /api/movie/<int:movie_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_resource 1.82
 Test profile get resource

        Test:
            GET: /api/profile/<uuid>

        Expected result:
            200, {"profile": ProfileObject, "status" : True}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_resource_bad_jwt 0.00
Test profile get resource with bad access token

        Test:
            GET: /api/profile/<uuid>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_resource_fake_jwt 0.01
Test get profile resource with fake access token

        Test:
            GET: /api/profile/<uuid>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_resource_no_jwt 0.00
Test profile get resource without access token

        Test:
            GET: /api/profile/<uuid>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_resource_bad_uuid 0.03
Test get profile resource with bad uuid

        Test:
            GET: /api/profile/<uuid>

        Expected result:
            404, {"status" : False }

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_delete_profile_bad_jwt 0.00
Test delete profile with bad access token

        Test:
            DELETE: /api/profile/<uuid>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_delete_profile_fake_jwt 0.01
Test delete profile resource with fake access token

        Test:
            DELETE: /api/profile/<uuid>

        Expected result:
            403, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_delete_profile_no_jwt 0.00
Test delete profile resource without access token

        Test:
            DELETE: /api/profile/<uuid>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_delete_profile_bad_uuid 0.32
Test delete profile resource with bad uuid

        Test:
            DELETE: /api/profile/<uuid>

        Expected result:
            403, {"status" : False }

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_delete_profile_other_profile 0.05
Test delete other profile resource with access token

        Test:
            DELETE: /api/profile/<uuid>

        Expected result:
            403, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_delete_profile 0.05
 Test profile delete resource

        Test:
            DELETE: /api/profile/<uuid>

        Expected result:
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_update_profile 0.11
 Test profile update resource

        Test:
            PATCH: /api/profile/<uuid>

        Expected result:
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_update_profile_bad_jwt 0.01
Test profile update with bad access token

        Test:
            PATCH: /api/profile/<uuid>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_update_profile_fake_jwt 0.01
Test update profile resource with fake access token

        Test:
            PATCH: /api/profile/<uuid>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_update_profile_no_jwt 0.01
Test update profile resource without access token

        Test:
            PATCH: /api/profile/<uuid>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_update_profile_bad_uuid 0.08
Test update profile resource with bad uuid

        Test:
            PATCH: /api/profile/<uuid>

        Expected result:
            403, {"status" : False }

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre 0.04
Test get profile genres with access token

        Test:
            GET: /api/profile/<profile_uuid>/genre

        Expected result:
            200, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_bad_jwt 0.00
Test profile genre with bad access token

        Test:
            GET: /api/profile/<profile_uuid>/genre

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_fake_jwt 0.01
Test get profile genre with fake access token

        Test:
            GET: /api/profile/<profile_uuid>genre

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_not_jwt 0.00
Test get profile genre without access token

        Test:
            GET: /api/profile/<profile_uuid>/genre

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_id 0.08
Test update profile genre by id with access token

        Test:
            PUT: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            201, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_id_fake_jwt 0.01
Test update profile genre by id  with fake access token

        Test:
            PUT: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_id_bad_jwt 0.00
Test get profile genre id with bad access token

        Test:
            PUT: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_id_no_jwt 0.00
Test update profile genre by id without access token

        Test:
            PUT: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_id_bad_id 0.04
Test profile genre by bad id with access token

        Test:
            PUT: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_delete 0.06
Test delete profile genre by id with access token

        Test:
            DELETE: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            201, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_delete_id_fake_jwt 0.01
Test delete profile genre by id with fake access token

        Test:
            DELETE: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_delete_id_bad_jwt 0.00
Test profile genre id delete with bad access token

        Test:
            DELETE: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_delete_id_no_jwt 0.00
Test delete profile genre by id without access token

        Test:
            DELETE: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_profile.py::TestProfile::test_profile_genre_delete_id_bad_id 0.81
Test delete profile genre by bad id with access token

        Test:
            DELETE: /api/profile/<profile_uuid>/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_admin (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended 1.85
Test serie recommended

        Test:
            GET: /api/serie

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended_one_page 0.04
Test serie get recommended serie page 1

        Test:
            GET: /api/serie?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended_big_page 0.03
Test serie get recommended serie page 9999999

        Test:
            GET: /api/serie?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended_zero_page 0.03
Test serie get recommended serie page 0

        Test:
            GET: /api/serie?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended_negative_page 0.03
Test serie get recommended serie page -1

        Test:
            GET: /api/serie?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended_bad_jwt 0.00
Test serie get recommended serie with bad JWT token 

        Test:
            GET: /api/serie

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            header_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended_fake_jwt 0.00
Test serie get recommended serie with fake JWT token 

        Test:
            GET: /api/serie

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_recommended_no_jwt 0.00
Test serie get recommended serie without JWT token 

        Test:
            GET: /api/serie

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search 0.04
Test serie search

        Test:
            GET: /api/serie/search/test serie

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search_one_page 0.04
Test serie search get page 1

        Test:
            GET: /api/serie/search/test serie?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search_zero_page 0.04
Test serie search get page 0

        Test:
            GET: /api/serie/search/test serie?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search_big_page 0.04
Test serie search get page 9999999

        Test:
            GET: /api/serie/search/test serie?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search_negative_page 0.03
Test serie search get page -1

        Test:
            GET: /api/serie/search/test serie?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search_bad_jwt 0.00
Test serie search with bad JWT token 

        Test:
            GET: /api/serie/search/test serie

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search_fake_jwt 0.00
Test serie search with fake JWT token 

        Test:
            GET: /api/serie/search/test serie

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_search_no_jwt 0.00
Test serie search without JWT token

        Test:
            GET: /api/serie/search/test serie

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_genre 0.03
Test serie genre

        Test:
            GET: /api/serie/genres

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_genre_no_jwt 0.00
Test serie genre whithout JWT token

        Test:
            GET: /api/serie/genres

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_genre_bad_jwt 0.00
Test serie genre with bad JWT token 

        Test:
            GET: /api/serie/genres

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_genre_fake_jwt 0.00
Test serie genre with fake JWT token 

        Test:
            GET: /api/serie/genres

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta 0.06
Test serie user meta

        Test:
            GET: /api/serie/<content_id>/meta

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_bad_content_id 0.03
Test serie user meta with bad content_id

        Test:
            GET: /api/serie/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_bad_jwt 0.00
Test serie user meta with bad JWT token 

        Test:
            GET: /api/serie/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_fake_jwt 0.01
Test serie user meta with fake JWT token 

        Test:
            GET: /api/serie/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_no_jwt 0.00
Test serie user mate without JWT token

        Test:
            GET: /api/serie/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_update 0.05
Test serie user meta update

        Test:
            PATCH: /api/serie/<content_id>/meta

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test1
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_update_bad_content_id 0.03
Test serie user meta update with bad content_id

        Test:
            PATCH: /api/serie/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_update_bad_jwt 0.00
Test serie user meta update with bad JWT token 

        Test:
            PATCH: /api/serie/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_update_fake_jwt 0.01
Test serie user meta update with fake JWT token 

        Test:
            PATCH: /api/serie/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_user_meta_update_no_jwt 0.00
Test serie user meta update without JWT token 

        Test:
            PATCH: /api/serie/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_bad_recommendation 0.05
Test serie bad recommendation

        Test:
            GET: /api/serie/<int:content_id>/bad_recommendation

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_bad_recommendation_bad_content_id 0.03
Test serie bad recommendation with bad serie ID

        Test:
            GET: /api/serie/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_bad_recommendation_bad_jwt 0.00
Test serie bad recommendation with bad JWT token

        Test:
            GET: /api/serie/<int:content_id>/bad_recommendation

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_bad_recommendation_fake_jwt 0.01
Test serie bad recommendation with fake JWT token

        Test:
            GET: /api/serie/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_bad_recommendation_no_jwt 0.00
Test serie bad recommendation without JWT token

        Test:
            GET: /api/serie/<int:content_id>/bad_recommendation

        Expected result: 
            401, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_add_content 0.07
Test serie add additional content
        Test:
            POST: /api/serie/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_add_minimal_content 0.05
Test serie add additional minimal content
        Test:
            POST: /api/serie/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_add_content_bad_jwt 0.00
Test serie add additional minimal content with bad JWT token
        Test:
            POST: /api/serie/
        Expected result: 
            422
        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, to get the access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_add_content_fake_jwt 0.01
Test serie add additional minimal content with fake JWT token
        Test:
            POST: /api/serie/
        Expected result: 
            404, {"status": False}
        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_add_content_no_jwt 0.00
Test serie add additional minimal content without JWT token
        Test:
            POST: /api/serie/
        Expected result: 
            401, {"status": False}
        Args:
            test_client (app context): Flask application
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_get_additional_content 0.03
Test serie get additional content
        Test:
            GET: /api/serie/additional/
        Expected result: 
            200, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_validate_additional_content 0.43
Test serie validate additional content
        Test:
            PUT: /api/serie/<int:serie_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_serie.py::TestSerie::test_serie_decline_additional_content 0.84
Test serie validate decline content
        Test:
            DELETE: /api/serie/<int:serie_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended 1.85
Test track recommended

        Test:
            GET: /api/track

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended_one_page 0.03
Test track get recommended track page 1

        Test:
            GET: /api/track?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended_big_page 0.03
Test track get recommended track page 9999999

        Test:
            GET: /api/track?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended_zero_page 0.03
Test track get recommended track page 0

        Test:
            GET: /api/track?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended_negative_page 0.03
Test track get recommended track page -1

        Test:
            GET: /api/track?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended_bad_jwt 0.00
Test track get recommended track with bad JWT token 

        Test:
            GET: /api/track

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            header_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended_fake_jwt 0.00
Test track get recommended track with fake JWT token 

        Test:
            GET: /api/track

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_recommended_no_jwt 0.00
Test track get recommended track without JWT token 

        Test:
            GET: /api/track

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search 0.03
Test track search

        Test:
            GET: /api/track/search/test track

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search_one_page 0.03
Test track search get page 1

        Test:
            GET: /api/track/search/test track?page=1

        Expected result: 
            200, {"status": True, "content": ResponseObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search_zero_page 0.03
Test track search get page 0

        Test:
            GET: /api/track/search/test track?page=0

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search_big_page 0.03
Test track search get page 9999999

        Test:
            GET: /api/track/search/test track?page=9999999

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search_negative_page 0.03
Test track search get page -1

        Test:
            GET: /api/track/search/test track?page=-1

        Expected result: 
            200, {"status": True, "content": []}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search_bad_jwt 0.00
Test track search with bad JWT token 

        Test:
            GET: /api/track/search/test track

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search_fake_jwt 0.01
Test track search with fake JWT token 

        Test:
            GET: /api/track/search/test track

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_search_no_jwt 0.00
Test track search without JWT token

        Test:
            GET: /api/track/search/test track

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_genre 0.02
Test track genre

        Test:
            GET: /api/track/genres

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_genre_no_jwt 0.00
Test track genre whithout JWT token

        Test:
            GET: /api/track/genres

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_genre_bad_jwt 0.00
Test track genre with bad JWT token 

        Test:
            GET: /api/track/genres

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_genre_fake_jwt 0.00
Test track genre with fake JWT token 

        Test:
            GET: /api/track/genres

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta 0.06
Test track user meta

        Test:
            GET: /api/track/<content_id>/meta

        Expected result: 
            200, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_bad_content_id 0.03
Test track user meta with bad content_id

        Test:
            GET: /api/track/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_bad_jwt 0.00
Test track user meta with bad JWT token 

        Test:
            GET: /api/track/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_fake_jwt 0.00
Test track user meta with fake JWT token 

        Test:
            GET: /api/track/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_no_jwt 0.00
Test track user mate without JWT token

        Test:
            GET: /api/track/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_update 0.06
Test track user meta update

        Test:
            PATCH: /api/track/<content_id>/meta

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
            user_test1 (User object): user test1
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_update_bad_content_id 0.03
Test track user meta update with bad content_id

        Test:
            PATCH: /api/track/<bad_content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_update_bad_jwt 0.00
Test track user meta update with bad JWT token 

        Test:
            PATCH: /api/track/<content_id>/meta

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, with bad access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_update_fake_jwt 0.01
Test track user meta update with fake JWT token 

        Test:
            PATCH: /api/track/<content_id>/meta

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): fake HTTP header, with invalid signed access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_user_meta_update_no_jwt 0.00
Test track user meta update without JWT token 

        Test:
            PATCH: /api/track/<content_id>/meta

        Expected result: 
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_bad_recommendation 0.04
Test track bad recommendation

        Test:
            GET: /api/track/<int:content_id>/bad_recommendation

        Expected result: 
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_bad_recommendation_bad_content_id 0.03
Test track bad recommendation with bad track ID

        Test:
            GET: /api/track/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_bad_recommendation_bad_jwt 0.00
Test track bad recommendation with bad JWT token

        Test:
            GET: /api/track/<int:content_id>/bad_recommendation

        Expected result: 
            422

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_bad_recommendation_fake_jwt 0.00
Test track bad recommendation with fake JWT token

        Test:
            GET: /api/track/<int:content_id>/bad_recommendation

        Expected result: 
            404, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_bad_recommendation_no_jwt 0.00
Test track bad recommendation without JWT token

        Test:
            GET: /api/track/<int:content_id>/bad_recommendation

        Expected result: 
            401, {"status": False}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_add_content 0.06
Test track add additional content
        Test:
            POST: /api/track/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_add_minimal_content 0.04
Test track add additional minimal content
        Test:
            POST: /api/track/
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_add_content_bad_jwt 0.00
Test track add additional minimal content with bad JWT token
        Test:
            POST: /api/track/
        Expected result: 
            422
        Args:
            test_client (app context): Flask application
            headers_bad (dict): bad HTTP header, to get the access token
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_add_content_fake_jwt 0.00
Test track add additional minimal content with without JWT token
        Test:
            POST: /api/track/
        Expected result: 
            401, {"status": False}
        Args:
            test_client (app context): Flask application
            genre_test1 (GenreObject) : Genre example
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_get_additional_content 0.03
Test track get additional content
        Test:
            GET: /api/track/additional/
        Expected result: 
            200, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_validate_additional_content 0.41
Test track validate additional content
        Test:
            PUT: /api/track/<int:track_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_track.py::TestTrack::test_track_decline_additional_content 0.86
Test track validate decline content
        Test:
            DELETE: /api/track/<int:track_id>
        Expected result: 
            201, {"status": True}
        Args:
            test_client (app context): Flask application
            headers (dict): HTTP header, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_resource 1.95
 Test user get resource

        Test:
            GET: /api/user/<uuid>

        Expected result:
            200, {"user": UserObject, "status" : True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_resource_bad_jwt 0.01
Test user get resource with bad access token

        Test:
            GET: /api/user/<uuid>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_resource_fake_jwt 0.03
Test get user resource with fake access token

        Test:
            GET: /api/user/<uuid>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_resource_no_jwt 0.01
Test user get resource without access token

        Test:
            GET: /api/user/<uuid>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_resource_bad_uuid 0.02
Test get user resource with bad uuid

        Test:
            GET: /api/user/<uuid>

        Expected result:
            404, {"status" : False }

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_delete_user_bad_jwt 0.01
Test delete user with bad access token

        Test:
            DELETE: /api/user/<uuid>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_delete_user_fake_jwt 0.02
Test delete user resource with fake access token

        Test:
            DELETE: /api/user/<uuid>

        Expected result:
            403, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_delete_user_no_jwt 0.01
Test delete user resource without access token

        Test:
            DELETE: /api/user/<uuid>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_delete_user_bad_uuid 0.33
Test delete user resource with bad uuid

        Test:
            DELETE: /api/user/<uuid>

        Expected result:
            403, {"status" : False }

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_delete_user_other_user 0.05
Test delete other user resource with access token

        Test:
            DELETE: /api/user/<uuid>

        Expected result:
            403, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_delete_user 0.06
 Test user delete resource

        Test:
            DELETE: /api/user/<uuid>

        Expected result:
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_update_user 0.36
 Test user update resource

        Test:
            PATCH: /api/user/<uuid>

        Expected result:
            201, {"status": True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_update_user_bad_jwt 0.01
Test user update with bad access token

        Test:
            PATCH: /api/user/<uuid>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_update_user_fake_jwt 0.03
Test update user resource with fake access token

        Test:
            PATCH: /api/user/<uuid>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_update_user_no_jwt 0.02
Test update user resource without access token

        Test:
            PATCH: /api/user/<uuid>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_update_user_bad_uuid 0.05
Test update user resource with bad uuid

        Test:
            PATCH: /api/user/<uuid>

        Expected result:
            403, {"status" : False }

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_update_user_bad_field 0.04
Test update user bad field with fake access token

        Test:
            PATCH: /api/user/<uuid>

        Expected result:
            400, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_preferences_defined_no_jwt 0.01
Test set user preferences defined without access token

        Test:
            PUT: /api/user/preferences_defined

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_preferences_defined_fake_jwt 0.01
Test set user preferences defined with fake access token

        Test:
            PUT: /api/user/preferences_defined

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_preferences_defined_bad_jwt 0.00
Test user set preferences defined with bad access token

        Test:
            PUT: /api/user/preferences_defined

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_search_no_jwt 0.01
Test user search without access token

        Test:
            GET: /api/user/search/<username>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_search_bad_name 0.04
Test user search bad name with access token

        Test:
            GET: /api/user/search/<username>

        Expected result:
            200, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_search 0.06
Test user search with access token

        Test:
            GET: /api/user/search/<username>

        Expected result:
            200, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_search_bad_jwt 0.01
Test user search with bad access token

        Test:
            GET: /api/user/search/<username>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_search_fake_jwt 0.02
Test user search with fake access token

        Test:
            GET: /api/user/search/<username>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_fake (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre 0.03
Test get user genres with access token

        Test:
            GET: /api/user/genre

        Expected result:
            200, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_bad_jwt 0.00
Test user genre with bad access token

        Test:
            GET: /api/user/genre

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_fake_jwt 0.01
Test get user genre with fake access token

        Test:
            GET: /api/user/genre

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_not_jwt 0.00
Test get user genre without access token

        Test:
            GET: /api/user/genre

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_id 0.06
Test update user genre by id with access token

        Test:
            PUT: /api/user/genre/<genre_id>

        Expected result:
            201, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_id_fake_jwt 0.01
Test update user genre by id  with fake access token

        Test:
            PUT: /api/user/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_id_bad_jwt 0.00
Test get user genre id with bad access token

        Test:
            PUT: /api/user/genre/<genre_id>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_id_no_jwt 0.00
Test update user genre by id without access token

        Test:
            PUT: /api/user/genre/<genre_id>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_id_bad_id 0.03
Test user genre by bad id with access token

        Test:
            PUT: /api/user/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_delete 0.05
Test delete user genre by id with access token

        Test:
            DELETE: /api/user/genre/<genre_id>

        Expected result:
            201, {"status" : True}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_delete_id_fake_jwt 0.01
Test delete user genre by id with fake access token

        Test:
            DELETE: /api/user/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_delete_id_bad_jwt 0.00
Test user genre id delete with bad access token

        Test:
            DELETE: /api/user/genre/<genre_id>

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_delete_id_no_jwt 0.00
Test delete user genre by id without access token

        Test:
            DELETE: /api/user/genre/<genre_id>

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_genre_delete_id_bad_id 0.03
Test delete user genre by bad id with access token

        Test:
            DELETE: /api/user/genre/<genre_id>

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_export_data 0.04
Test user export data with access token

        Test:
            GET: /api/user/export

        Expected result:
            200, {"status" : True, "user" : UserObject}

        Args:
            test_client (app context): Flask application
            headers (dict): HTTP headers, to get the access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_export_data_fake_jwt 0.00
Test user export data with fake access token

        Test:
            GET: /api/user/export

        Expected result:
            404, {"status" : False}

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the fake access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_export_data_bad_jwt 0.00
Test user export data with bad access token

        Test:
            GET: /api/user/export

        Expected result:
            422

        Args:
            test_client (app context): Flask application
            headers_bad (dict): HTTP headers, to get the bad access token
        
No log output captured.
Passed functionnal/test_user.py::TestUser::test_user_export_data_no_jwt 0.81
Test  user export resource without access token

        Test:
            GET: /api/user/export

        Expected result:
            401, {"msg" : "Missing Authorization Header"}

        Args:
            test_client (app context): Flask application
        
No log output captured.