From 5dd8a9afd54cb630cf930662d7399ac7c46aaa14 Mon Sep 17 00:00:00 2001 From: Jiri Kyjovsky Date: Oct 14 2022 06:41:47 +0000 Subject: frontend: add version to the bitbucket webhook tag name Since this is not correct tag name. Merges: #2322 --- diff --git a/frontend/coprs_frontend/tests/test_webhooks.py b/frontend/coprs_frontend/tests/test_webhooks.py index a489f9b..392f377 100644 --- a/frontend/coprs_frontend/tests/test_webhooks.py +++ b/frontend/coprs_frontend/tests/test_webhooks.py @@ -260,7 +260,7 @@ class TestBitbucketWebhook(CoprsTestCase): "before": "9e6f31bead67d176a71a198f0c10fc764799a4a7", "after": "f956357fe84ba899faf9efadeed1f32c8c8cac85", "push": { - "changes": [{"new": {"name": "{0}".format(package_name), "type": "tag", + "changes": [{"new": {"name": "{0}-1".format(package_name), "type": "tag", "target": {"hash": "82c876a27ceafd80465c35e601afab604463ae86"}}}] }, "commits": [{"added": ["{0}".format(package_name)], "removed": [], "modified": []}],