Skip to content

Commit

Permalink
Get Test Case Statuses #108
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon committed Jul 15, 2024
1 parent 9e1d714 commit 88d26a7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
13 changes: 6 additions & 7 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pytest = "==7.4.4"
pytest-cov = "==4.1.0"
pytest = "==8.2.2"
pytest-cov = "==5.0.0"
responses = "==0.21.0"
black = "==23.12.1"
flake8 = "==7.0.0"
pep8-naming = "==0.13.3"
twine = "==4.0.2"
black = "==24.4.2"
flake8 = "==7.1.0"
pep8-naming = "==0.14.1"

[packages]
requests = "==2.31.0"
requests = "==2.32.3"
testrail-api = { editable = true, path = "." }

[requires]
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ max-line-length = 120
count = True
extend-ignore = E203
exclude = __version__.py

[coverage:run]
omit = testrail_api/__version__.py
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
long_description=long_description,
long_description_content_type="text/markdown",
use_scm_version={"write_to": "testrail_api/__version__.py"},
setup_requires=["setuptools_scm==7.1.0"],
install_requires=["requests>=2.20.1"],
setup_requires=["setuptools_scm"],
install_requires=["requests>=2.32.3"],
python_requires=">=3.8",
include_package_data=True,
keywords=[
Expand Down
2 changes: 1 addition & 1 deletion testrail_api/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __get_url(url: str, warn_ignore: bool) -> str:
raise TestRailError(f"Url is not set. Use argument url or env {Environ.URL}")
_url = _url.rstrip("/")
if _url.startswith("http://") and not warn_ignore:
warnings.warn("Using HTTP and not HTTPS may cause writeable API " "requests to return 404 errors")
warnings.warn("Using HTTP and not HTTPS may cause writeable API requests to return 404 errors")
return _url

@staticmethod
Expand Down

0 comments on commit 88d26a7

Please sign in to comment.