def get_saucelabs_username_and_key():
 return {'username': settings.SAUCE.get('USERNAME'), 'access-key': settings.SAUCE.get('ACCESS_ID')}

def get_saucelabs_username_and_key ( ) : return { 'username' : settings . SAUCE . get ( 'USERNAME' ) , 'access-key' : settings . SAUCE . get ( 'ACCESS_ID' ) }
returns the sauce labs username and access id as set by environment variables .