v1.0.0-unit-tests.html

Report generated on 27-Mar-2021 at 09:53:29 by pytest-html v3.1.1

Environment

JAVA_HOME /Library/Java/JavaVirtualMachines/jdk-11.0.8.jdk/Contents/Home
Packages {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.2"}
Platform macOS-10.15.7-x86_64-i386-64bit
Plugins {"datadir": "1.3.1", "html": "3.1.1", "metadata": "1.11.0", "requests-mock": "1.8.0"}
Python 3.9.1

Summary

42 tests ran in 0.46 seconds.

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

Results

Result Test Duration Links
Passed test/test_hub_rest_api_python.py::test_get_major_version 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_headers 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_policy_url 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_parameter_string 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_hub_instance_username_password_for_auth 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_hub_instance_api_token_for_auth 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_hub_instance_with_write_config 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_hub_instance_with_write_config_false 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_policy_by_id 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_policy_by_url 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_update_policy_by_id 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_update_policy_by_url 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_create_policy 0.02
No log output captured.
Passed test/test_hub_rest_api_python.py::test_delete_policy_by_id 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_delete_policy_by_url 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_vulnerability 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_projects_with_limit 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_projects_with_name_query 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_project_versions 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_project_versions_with_parameters 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_delete_project_version_by_name 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_users 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_create_user 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_user_by_id 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_user_by_url 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_update_user_by_id 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_update_user_by_url 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_delete_user_by_id 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_delete_user_by_url 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_project_by_name 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_version_by_name 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_create_version_reports 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_create_version_notices_report 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_user_has_role 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_link 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_link_returns_None_for_invalid_bd_rest_object 0.00
-------------------------------Captured log call--------------------------------
WARNING blackduck.Core:Core.py:112 This does not appear to be a BD REST object. It should have ['_meta']['links']
Passed test/test_hub_rest_api_python.py::test_validated_json_with_a_dictionary 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_validated_json_with_a_list 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_validated_json_with_a_json_str 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_validated_json_fails_with_invalid_json_str 0.00
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_codelocations_all 0.01
No log output captured.
Passed test/test_hub_rest_api_python.py::test_get_codelocations_unmapped 0.01
No log output captured.