def find_skips(start=TESTDIR):
 results = {}
 debug('Searching in %s', start)
 for (root, _dirs, files) in os.walk(start):
  for name in files:
   if (name.startswith('test_') and name.endswith('py')):
    path = os.path.join(root, name)
    debug('Searching in %s', path)
    temp_result = find_skips_in_file(path)
    for (method_name, bug_no) in temp_result:
     if results.get(bug_no):
      result_dict = results.get(bug_no)
      if result_dict.get(name):
       result_dict[name].append(method_name)
      else:
       result_dict[name] = [method_name]
      results[bug_no] = result_dict
     else:
      results[bug_no] = {name: [method_name]}
 return results

def find_skips ( start = TESTDIR ) : results = { } debug ( 'Searching in %s' , start ) for ( root , _dirs , files ) in os . walk ( start ) : for name in files : if ( name . startswith ( 'test_' ) and name . endswith ( 'py' ) ) : path = os . path . join ( root , name ) debug ( 'Searching in %s' , path ) temp_result = find_skips_in_file ( path ) for ( method_name , bug_no ) in temp_result : if results . get ( bug_no ) : result_dict = results . get ( bug_no ) if result_dict . get ( name ) : result_dict [ name ] . append ( method_name ) else : result_dict [ name ] = [ method_name ] results [ bug_no ] = result_dict else : results [ bug_no ] = { name : [ method_name ] } return results
find the entire list of skipped tests .