def fake_site(name, default=None):
 if (name == 'cybersource_config_key'):
  return 'test_site'
 else:
  return None

def fake_site ( name , default = None ) : if ( name == 'cybersource_config_key' ) : return 'test_site' else : return None
this is a test mocking function to return a site configuration .