Add scheduling by test file.

This commit is contained in:
Cornelius Riemenschneider
2017-11-09 16:20:16 +01:00
parent d4f977f3b7
commit fad312fdb7
7 changed files with 116 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ from xdist.scheduler import (
EachScheduling,
LoadScheduling,
LoadScopeScheduling,
LoadFileScheduling,
)
@@ -99,6 +100,7 @@ class DSession:
'each': EachScheduling,
'load': LoadScheduling,
'loadscope': LoadScopeScheduling,
'loadfile': LoadFileScheduling,
}
return schedulers[dist](config, log)