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

Commit4eca9b9

Browse files
authored
Merge pull request#2322 from AndreySV/fix-test-with-false
test: use false instead of /usr/bin/false
2 parents9410acb +51964b3 commit4eca9b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/unit/test_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def test_data_from_helper(m_open, monkeypatch, tmp_path):
305305
@mock.patch("builtins.open")
306306
@pytest.mark.skipif(sys.platform.startswith("win"),reason="Not supported on Windows")
307307
deftest_from_helper_subprocess_error_raises_error(m_open,monkeypatch):
308-
# using/usr/bin/false here to force a non-zero return code
308+
# using false here to force a non-zero return code
309309
fd=io.StringIO(
310310
dedent(
311311
"""\
@@ -314,7 +314,7 @@ def test_from_helper_subprocess_error_raises_error(m_open, monkeypatch):
314314
315315
[helper]
316316
url = https://helper.url
317-
oauth_token = helper:/usr/bin/false
317+
oauth_token = helper: false
318318
"""
319319
)
320320
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp