20
20
from packit_service .config import ServiceConfig
21
21
from packit_service .constants import (
22
22
TASK_ACCEPTED ,
23
- CHANGED_LOADING_BEHAVIOUR_IN_DISTGIT_MESSAGE ,
24
23
)
25
24
from packit_service .models import (
26
25
ProjectEventModelType ,
@@ -209,7 +208,6 @@ def test_dist_git_push_release_handle(github_release_webhook, propose_downstream
209
208
add_pr_instructions = True ,
210
209
resolved_bugs = [],
211
210
release_monitoring_project_id = None ,
212
- pr_description_footer = CHANGED_LOADING_BEHAVIOUR_IN_DISTGIT_MESSAGE ,
213
211
sync_acls = True ,
214
212
).and_return (pr ).once ()
215
213
flexmock (PackitAPI ).should_receive ("clean" )
@@ -348,7 +346,6 @@ def test_dist_git_push_release_handle_multiple_branches(
348
346
add_pr_instructions = True ,
349
347
resolved_bugs = [],
350
348
release_monitoring_project_id = None ,
351
- pr_description_footer = CHANGED_LOADING_BEHAVIOUR_IN_DISTGIT_MESSAGE ,
352
349
sync_acls = True ,
353
350
).and_return (pr ).once ()
354
351
@@ -494,7 +491,6 @@ def test_dist_git_push_release_handle_one_failed(
494
491
add_pr_instructions = True ,
495
492
resolved_bugs = [],
496
493
release_monitoring_project_id = None ,
497
- pr_description_footer = CHANGED_LOADING_BEHAVIOUR_IN_DISTGIT_MESSAGE ,
498
494
sync_acls = True ,
499
495
).and_return (pr ).once ()
500
496
flexmock (ProposeDownstreamJobHelper ).should_receive (
@@ -516,7 +512,6 @@ def test_dist_git_push_release_handle_one_failed(
516
512
add_pr_instructions = True ,
517
513
resolved_bugs = [],
518
514
release_monitoring_project_id = None ,
519
- pr_description_footer = CHANGED_LOADING_BEHAVIOUR_IN_DISTGIT_MESSAGE ,
520
515
sync_acls = True ,
521
516
).and_raise (Exception , f"Failed { model .branch } " ).once ()
522
517
flexmock (ProposeDownstreamJobHelper ).should_receive (
@@ -757,7 +752,6 @@ def test_retry_propose_downstream_task(
757
752
add_pr_instructions = True ,
758
753
resolved_bugs = [],
759
754
release_monitoring_project_id = None ,
760
- pr_description_footer = CHANGED_LOADING_BEHAVIOUR_IN_DISTGIT_MESSAGE ,
761
755
sync_acls = True ,
762
756
).and_raise (
763
757
PackitDownloadFailedException , "Failed to download source from example.com"
@@ -868,7 +862,6 @@ def test_dont_retry_propose_downstream_task(
868
862
add_pr_instructions = True ,
869
863
resolved_bugs = [],
870
864
release_monitoring_project_id = None ,
871
- pr_description_footer = CHANGED_LOADING_BEHAVIOUR_IN_DISTGIT_MESSAGE ,
872
865
sync_acls = True ,
873
866
).and_raise (
874
867
PackitDownloadFailedException , "Failed to download source from example.com"
0 commit comments