Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

pytest: Results Summary not written to log file

  • 20-09-2021 09:47AM
    #1
    Registered Users, Registered Users 2 Posts: 5,710 ✭✭✭



    python3 -m pytest $test_case_path --log-file $testout_file --log-level 10 --log-date-format "%Y-%m-%d %H:%M:%S" --log-format "%(asctime)s %(levelname)s %(message)s"
    

    This will output the below to STDOUT after the test runs. But the summary does not go into the output file, not sure why?


    =================================================================== warnings summary ===================================================================

    CE/regression/IAM/User/auto_create_user.py::CreateUser::test_create_user

      /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made to host 'broom11vip.us.oracle.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

      InsecureRequestWarning,



Advertisement