Ensure that if test cases run with the '--pkg resql' option then only RESQL test cases should be run.
parent
4746fbd346
commit
4490f6f838
|
|
@ -100,6 +100,9 @@ class TestsGeneratorRegistry(ABCMeta):
|
|||
# if yes then import only that module
|
||||
if is_resql_only:
|
||||
BaseTestGenerator.setForModules(for_modules)
|
||||
# In case of RESQL only clear the registry of modules, as
|
||||
# RESQL test cases should be run.
|
||||
cls.registry = dict()
|
||||
try:
|
||||
import_module('regression.re_sql.tests.test_resql')
|
||||
except ImportError:
|
||||
|
|
|
|||
Loading…
Reference in New Issue