Skip to content

Commit

Permalink
Fixed an issue with Qase API client version
Browse files Browse the repository at this point in the history
  • Loading branch information
n3r committed Feb 18, 2024
1 parent 5dbcab0 commit f3e7c1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion qase-python-commons/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
attrs==21.4.0
cattrs==1.1.2
certifi==2023.7.22
qaseio==3.3.0
qaseio==4.0.1
more-itertools==9.1.0
4 changes: 2 additions & 2 deletions qase-python-commons/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ long-description = file: README.md
long-description-content-type = text/markdown; charset=UTF-8; variant=GFM
url = https://github.com/qase-tms/qase-python/tree/master/qase-python-commons
platforms = any
version = 2.0.3
version = 2.0.4
classifiers =
Development Status :: 5 - Production/Stable
Programming Language :: Python
Expand All @@ -24,7 +24,7 @@ package_dir =
setup_requires = pyscaffold>=3.2a0,<3.3a0
install_requires =
certifi>=2022.12.7
qaseio>=3.2.1
qaseio>=4.0.0,<5.0.0
attrs>=19.3.0
more_itertools
python_requires = >=3.7
Expand Down
7 changes: 2 additions & 5 deletions qase-python-commons/src/qaseio/commons/testops.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
from qaseio.api.projects_api import ProjectsApi
from qaseio.api.results_api import ResultsApi
from qaseio.api.runs_api import RunsApi
from qaseio.model.run_create import RunCreate
from qaseio.model.result_create_bulk import ResultCreateBulk
from qaseio.model.result_create import ResultCreate
from qaseio.model.result_create_case import ResultCreateCase
from qaseio.models import RunCreate, ResultcreateBulk, ResultCreate, ResultCreateCase
from qaseio.rest import ApiException
from qaseio.commons.models.attachment import Attachment
from qaseio.commons.models.step import Step
Expand Down Expand Up @@ -163,7 +160,7 @@ def _send_bulk_results(self):
api_results.create_result_bulk(
code=self.project_code,
id=self.run_id,
result_create_bulk=ResultCreateBulk(
result_create_bulk=ResultcreateBulk(

This comment has been minimized.

Copy link
@NickVolynkin

NickVolynkin Feb 20, 2024

Contributor

Why is it ResultcreateBulk and not ResultCreateBulk, as in `./qaseio/qaseio/models/result_create_bulk.py https://github.com/qase-tms/qase-python/blob/master/qaseio/qaseio/models/result_create_bulk.py#L32?

results=chunk
)
)
Expand Down

0 comments on commit f3e7c1c

Please sign in to comment.