Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit732e49c

Browse files
committed
chore: make lint happy
1 parentfc2798f commit732e49c

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

‎gitlab/tests/test_config.py

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -197,21 +197,30 @@ def test_valid_data(m_open, path_exists):
197197
@mock.patch("os.path.exists")
198198
@mock.patch("builtins.open")
199199
deftest_data_from_helper(m_open,path_exists,tmp_path):
200-
helper= (tmp_path/"helper.sh")
201-
helper.write_text(dedent("""\
202-
#!/bin/sh
203-
echo "secret"
204-
"""))
200+
helper=tmp_path/"helper.sh"
201+
helper.write_text(
202+
dedent(
203+
"""\
204+
#!/bin/sh
205+
echo "secret"
206+
"""
207+
)
208+
)
205209
helper.chmod(0o755)
206210

207-
fd=io.StringIO(dedent("""\
208-
[global]
209-
default = helper
210-
211-
[helper]
212-
url = https://helper.url
213-
oauth_token = helper: %s
214-
""")%helper)
211+
fd=io.StringIO(
212+
dedent(
213+
"""\
214+
[global]
215+
default = helper
216+
217+
[helper]
218+
url = https://helper.url
219+
oauth_token = helper: %s
220+
"""
221+
)
222+
%helper
223+
)
215224

216225
fd.close=mock.Mock(return_value=None)
217226
m_open.return_value=fd

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp