Skip to content

Commit 4fcd6af

Browse files
committed
Add test_fast_ci_resource()
1 parent be4c7be commit 4fcd6af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Lib/test/test_regrtest.py

+6
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,12 @@ def test_fast_ci(self):
400400
regrtest = self.check_ci_mode(args, use_resources)
401401
self.assertEqual(regrtest.timeout, 10 * 60)
402402

403+
def test_fast_ci_resource(self):
404+
# it should be possible to override resources
405+
args = ['--fast-ci', '-u', 'network']
406+
use_resources = ['network']
407+
self.check_ci_mode(args, use_resources)
408+
403409
def test_slow_ci(self):
404410
args = ['--slow-ci']
405411
use_resources = sorted(cmdline.ALL_RESOURCES)

0 commit comments

Comments
 (0)