Skip to content

Commit

Permalink
Add test_fast_ci_resource()
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Sep 26, 2023
1 parent be4c7be commit 4fcd6af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Lib/test/test_regrtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,12 @@ def test_fast_ci(self):
regrtest = self.check_ci_mode(args, use_resources)
self.assertEqual(regrtest.timeout, 10 * 60)

def test_fast_ci_resource(self):
# it should be possible to override resources
args = ['--fast-ci', '-u', 'network']
use_resources = ['network']
self.check_ci_mode(args, use_resources)

def test_slow_ci(self):
args = ['--slow-ci']
use_resources = sorted(cmdline.ALL_RESOURCES)
Expand Down

0 comments on commit 4fcd6af

Please sign in to comment.