Send json the correct way
During the manual testing was found out that the json wasn't sent the way the pagure is expecting it (as string). So this commit adds json.dumps before sending the payload itself. It also fixes formatting of one message. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
5d0d0490d2
commit
5cc824a7f4
4 changed files with 128 additions and 94 deletions
|
@ -1499,9 +1499,9 @@ class TestCreateNewBranch:
|
|||
|
||||
message = (
|
||||
"The branch in PDC already exists, you can now create it yourself as follows:\n"
|
||||
"Check in the project's settings if you have activated the git hook preventing"
|
||||
"Check in the project's settings if you have activated the git hook preventing "
|
||||
"new git branches from being created and if you did, de-activate it.\n"
|
||||
"Then simply run in cloned repository: "
|
||||
"Then simply run in cloned repository:\n"
|
||||
"``git checkout -b <branch_name> && git push -u origin <branch_name>``.\n"
|
||||
"``<branch_name>`` is the name of the branch you requested. \n"
|
||||
"You only need to do this once and you can then use fedpkg as you normally do."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue