Skip to content

Commit

Permalink
Create cmd.py (#44)
Browse files Browse the repository at this point in the history
Added quotes to allow TestRun.search() to correctly process the string for test run id when it contains spaces.
Fixes: #43
  • Loading branch information
sbertramrh authored and waynesun09 committed Jan 13, 2022
1 parent cf0aba7 commit c046718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pylero/cli/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ def update_run(self,
is_template=False):

run = run.strip()
query_ful = 'project.id:%s AND id:%s' % (TestRun.default_project,
run)
query_ful = 'project.id:%s AND id:\"%s\"' % (TestRun.default_project,
run)

fields = ['query',
'created',
Expand Down

0 comments on commit c046718

Please sign in to comment.