Skip to content

Commit a8bee6b

Browse files
committed
Remove unneeded appveyor workaround
Signed-off-by: Steven Esser <sesser@nexb.com>
1 parent a335008 commit a8bee6b

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/deltacode/test_utils.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ def run_scan_click(options, monkeypatch=None, test_mode=True, expected_rc=0, env
4646
from click.testing import CliRunner
4747
from deltacode import cli
4848

49-
options = add_windows_extra_timeout(options)
50-
5149
if monkeypatch:
5250
monkeypatch.setattr(click._termui_impl, 'isatty', lambda _: True)
5351
monkeypatch.setattr(click , 'get_terminal_size', lambda : (80, 43,))
@@ -80,16 +78,6 @@ def get_opts(options):
8078
WINDOWS_CI_TIMEOUT = '222.2'
8179

8280

83-
def add_windows_extra_timeout(options, timeout=WINDOWS_CI_TIMEOUT):
84-
"""
85-
Add a timeout to an options list if on Windows.
86-
"""
87-
if on_windows and '--timeout' not in options:
88-
# somehow the Appevyor windows CI is now much slower and timeouts at 120 secs
89-
options += ['--timeout', timeout]
90-
return options
91-
92-
9381
def check_json_scan(expected_file, result_file, regen=False, remove_file_date=False, ignore_headers=False):
9482
"""
9583
Check the scan `result_file` JSON results against the `expected_file`

0 commit comments

Comments
 (0)