Revision 69a15dd7 qa/qa_config.py

b/qa/qa_config.py
68 68
  """
69 69
  if isinstance(tests, basestring):
70 70
    tests = [tests]
71
  return compat.all(cfg.get("tests", {}).get(t, True) for t in tests)
71

  
72
  # Get settings for all tests
73
  all_tests = cfg.get("tests", {})
74

  
75
  # Get default setting
76
  default = all_tests.get("default", True)
77

  
78
  return compat.all(all_tests.get(name, default) for name in tests)
72 79

  
73 80

  
74 81
def GetMasterNode():

Also available in: Unified diff