qase-tms / qase-python

Qase TMS Python SDK
https://developers.qase.io
26 stars 26 forks source link

Issue with qase-pytest : Version 5.x #121

Closed kiranask closed 10 months ago

kiranask commented 1 year ago

We are getting urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.qase.io', port=443)while integrating with pytest.

pytest --qase-mode=testops --qase-testops-api-token= --qase-testops-project= test_sample_pytest.py

Where test_sample_pytest.py :


import pytest
from selenium import webdriver

def test_title():
    driver = webdriver.Firefox()
    driver.get('https://qase.io/')
    assert driver.title == 'Qase | Test management software for QA teams'
    driver.quit()

Where qase-pytest version:

pip show qase-pytest
Name: qase-pytest
Version: 5.0.1
Summary: Qase Pytest Plugin for Qase TestOps and Qase Report
Home-page: https://github.com/qase-tms/qase-python/tree/master/qase-pytest
Author: Qase Team
Author-email: support@qase.io
License: apache

Full error while running the pytest:

INTERNALERROR> urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.qase.io', port=443): Max retries exceeded with url: /v1/plan/KIRAN/1 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:992)')))

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.