Skip to content

Commit 5ef745e

Browse files
committed
fix: test
1 parent cea225f commit 5ef745e

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

test/unit/test_formula.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,6 @@ def test_update_python_resources_error(mock_subprocess, mock_which):
953953
f'cd {FORMULA_PATH} && {brew_path} update-python-resources {formula_name}',
954954
stderr=subprocess.STDOUT,
955955
text=True,
956-
timeout=60,
956+
timeout=300,
957957
shell=True,
958958
)

test/unit/test_git.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ def test_setup(mock_subprocess):
3030
],
3131
stderr=-2,
3232
text=True,
33-
timeout=60,
33+
timeout=300,
3434
),
3535
call(
3636
['git', '-C', 'homebrew-formulas', 'config', 'user.name', '"Justintime50"'],
3737
stderr=-2,
3838
text=True,
39-
timeout=60,
39+
timeout=300,
4040
),
4141
call(
4242
['git', '-C', 'homebrew-formulas', 'config', 'user.email', 'user@example.com'],
4343
stderr=-2,
4444
text=True,
45-
timeout=60,
45+
timeout=300,
4646
),
4747
]
4848
)

test/unit/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_make_github_get_request(mock_request):
2020
headers=GITHUB_HEADERS,
2121
allow_redirects=True,
2222
stream=False,
23-
timeout=60,
23+
timeout=300,
2424
)
2525

2626

@@ -38,7 +38,7 @@ def test_make_github_get_request_stream(mock_request):
3838
headers=headers,
3939
allow_redirects=True,
4040
stream=True,
41-
timeout=60,
41+
timeout=300,
4242
)
4343

4444

0 commit comments

Comments
 (0)