def read_fixture_files():
 fixture_dict = {}
 current_dir = os.path.dirname(__file__)
 fixture_dir = os.path.join(current_dir, u'fixture_data/')
 for filename in os.listdir(fixture_dir):
  if (filename not in [u'.', u'..']):
   fullname = os.path.join(fixture_dir, filename)
   fixture_dict[filename] = read_fixture_lines(fullname)
 return fixture_dict

def read_fixture_files ( ) : fixture_dict = { } current_dir = os . path . dirname ( __file__ ) fixture_dir = os . path . join ( current_dir , u'fixture_data/' ) for filename in os . listdir ( fixture_dir ) : if ( filename not in [ u'.' , u'..' ] ) : fullname = os . path . join ( fixture_dir , filename ) fixture_dict [ filename ] = read_fixture_lines ( fullname ) return fixture_dict
read all files inside fixture_data directory .