Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 30ad440

Browse filesBrowse files
committed
style: beautify 2a55f68
1 parent 2a55f68 commit 30ad440
Copy full SHA for 30ad440

File tree

Expand file treeCollapse file tree

4 files changed

+0
-10
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+0
-10
lines changed

‎tests/history/test_changelog.py

Copy file name to clipboardExpand all lines: tests/history/test_changelog.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ def test_message_capitalization_is_configurable(
141141
"semantic_release.history.logs.get_commit_log",
142142
lambda *a, **kw: [commit],
143143
):
144-
145144
with mock.patch(
146145
"semantic_release.history.config.get",
147146
wrapped_config_get(changelog_capitalize=config_setting),

‎tests/test_changelog.py

Copy file name to clipboardExpand all lines: tests/test_changelog.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def test_markdown_changelog_gitlab():
5656
with mock.patch(
5757
"semantic_release.changelog.config.get", wrapped_config_get(hvcs="gitlab")
5858
):
59-
6059
assert markdown_changelog(
6160
"owner",
6261
"repo_name",
@@ -164,11 +163,9 @@ def test_get_changelog_sections():
164163
],
165164
)
166165
def test_add_pr_link(message, hvcs, expected_output):
167-
168166
with mock.patch(
169167
"semantic_release.changelog.config.get", wrapped_config_get(hvcs=hvcs)
170168
):
171-
172169
assert add_pr_link("owner", "name", message) == expected_output
173170

174171

‎tests/test_cli.py

Copy file name to clipboardExpand all lines: tests/test_cli.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def test_version_by_commit_should_call_correct_functions(mocker):
6767
def test_version_by_tag_with_commit_version_number_should_call_correct_functions(
6868
mocker,
6969
):
70-
7170
mocker.patch(
7271
"semantic_release.cli.config.get",
7372
wrapped_config_get(
@@ -106,7 +105,6 @@ def test_version_by_tag_with_commit_version_number_should_call_correct_functions
106105
def test_version_by_tag_only_with_commit_version_number_should_call_correct_functions(
107106
mocker,
108107
):
109-
110108
mocker.patch(
111109
"semantic_release.cli.config.get",
112110
wrapped_config_get(

‎tests/test_hvcs.py

Copy file name to clipboardExpand all lines: tests/test_hvcs.py
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def test_get_domain_should_have_expected_domain(
186186
ci_server_host,
187187
hvcs_api_domain,
188188
):
189-
190189
with mock.patch(
191190
"semantic_release.hvcs.config.get",
192191
wrapped_config_get(
@@ -202,7 +201,6 @@ def test_get_domain_should_have_expected_domain(
202201
"CI_SERVER_HOST": ci_server_host,
203202
},
204203
):
205-
206204
assert get_hvcs().domain() == expected_domain
207205
assert get_hvcs().api_url() == expected_api_url
208206

@@ -223,7 +221,6 @@ def test_ghe_domain_should_be_retrieved_from_env():
223221
@mock.patch("semantic_release.hvcs.config.get", wrapped_config_get(hvcs="gitlab"))
224222
@mock.patch("os.environ", {"GL_TOKEN": "token"})
225223
def test_get_token():
226-
227224
assert get_hvcs().token() == "token"
228225

229226

@@ -603,7 +600,6 @@ def request_callback(request):
603600

604601

605602
class GiteaReleaseTests(TestCase):
606-
607603
url = "https://gitea.com/api/v1/repos/gitea/tea/releases"
608604
edit_url = "https://gitea.com/api/v1/repos/gitea/tea/releases/1"
609605
get_url = "https://gitea.com/api/v1/repos/gitea/tea/releases/tags/v1.0.0"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.