def load_fixtures(fixtures_dict=None):
 if (fixtures_dict is None):
  fixtures_dict = {}
 all_fixtures = {}
 fixtures_base_path = get_fixtures_base_path()
 for (fixture_type, fixtures) in six.iteritems(fixtures_dict):
  loaded_fixtures = {}
  for fixture in fixtures:
   fixture_path = ((fixtures_base_path + '/') + fixture)
   fixture_dict = load_content(fixture_path)
   loaded_fixtures[fixture] = fixture_dict
  all_fixtures[fixture_type] = loaded_fixtures
 return all_fixtures

def load_fixtures ( fixtures_dict = None ) : if ( fixtures_dict is None ) : fixtures_dict = { } all_fixtures = { } fixtures_base_path = get_fixtures_base_path ( ) for ( fixture_type , fixtures ) in six . iteritems ( fixtures_dict ) : loaded_fixtures = { } for fixture in fixtures : fixture_path = ( ( fixtures_base_path + '/' ) + fixture ) fixture_dict = load_content ( fixture_path ) loaded_fixtures [ fixture ] = fixture_dict all_fixtures [ fixture_type ] = loaded_fixtures return all_fixtures
loads fixtures specified in fixtures_dict .