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 Dec 2, 2021
1 parent a6a1ebc commit 920821c
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 920821c

Please sign in to comment.