Skip to content

Commit e796723

Browse files
committed
shuffled tests, disabled unnecessary tests for addons
1 parent 31500d0 commit e796723

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tasks/__init__.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,12 @@ def test_module(ctx, module=None, numprocesses=None, nocapture=False, params=Non
392392
'api_tests/wikis',
393393
]
394394
ADDON_TESTS = [
395-
'addons',
395+
'addons/base',
396+
'addons/boa',
397+
'addons/forward',
398+
'addons/osfstorage',
399+
'addons/twofactor',
400+
'addons/wiki',
396401
]
397402
ADMIN_TESTS = [
398403
'admin_tests',
@@ -430,7 +435,7 @@ def test_api3(ctx, numprocesses=None, coverage=False, testmon=False, junit=False
430435
"""Run the API test suite."""
431436
print(f'Testing modules "{API_TESTS3 + OSF_TESTS}"')
432437
# NOTE: There may be some concurrency issues with ES
433-
test_module(ctx, module=API_TESTS3 + OSF_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
438+
test_module(ctx, module=API_TESTS3, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
434439

435440

436441
@task
@@ -445,7 +450,7 @@ def test_addons(ctx, numprocesses=None, coverage=False, testmon=False, junit=Fal
445450
"""Run all the tests in the addons directory.
446451
"""
447452
print(f'Testing modules "{ADDON_TESTS + ADMIN_TESTS}"')
448-
test_module(ctx, module=ADDON_TESTS + ADMIN_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
453+
test_module(ctx, module=ADDON_TESTS + ADMIN_TESTS + OSF_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon, junit=junit)
449454

450455

451456
@task

0 commit comments

Comments
 (0)