Skip to content

Commit 7d265dc

Browse files
author
Daniel Conde Diehl
committed
Fixing create_step_attachment method
1 parent 37fcc37 commit 7d265dc

6 files changed

Lines changed: 43 additions & 1 deletion

File tree

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/zephyr-python-api.iml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zephyr/scale/server/endpoints/endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_step_attachments(self, test_case_key, step_index):
4545

4646
def create_step_attachment(self, test_case_key, step_index, file_path):
4747
"""Create a new attachment on the specified Step of a Test Case"""
48-
return self.session.post(Paths.CASE_STP_ATTACH.format(test_case_key, step_index),
48+
return self.session.post_file(Paths.CASE_STP_ATTACH.format(test_case_key, step_index),
4949
file_path)
5050

5151
def search_cases(self, query, **params):

0 commit comments

Comments
 (0)