def module_load_tests(loader, found_tests, pattern):
 result = testresources.OptimisingTestSuite()
 found_tests = testscenarios.load_tests_apply_scenarios(loader, found_tests, pattern)
 result.addTest(found_tests)
 return result

def module_load_tests ( loader , found_tests , pattern ) : result = testresources . OptimisingTestSuite ( ) found_tests = testscenarios . load_tests_apply_scenarios ( loader , found_tests , pattern ) result . addTest ( found_tests ) return result
apply optimisingtestsuite on a per-module basis .