def no_real_s3_credentials():
 if (parse_boolean_envvar(os.getenv('WALE_S3_INTEGRATION_TESTS')) is not True):
  return True
 for e_var in ('AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY'):
  if (os.getenv(e_var) is None):
   return True
 return False

def no_real_s3_credentials ( ) : if ( parse_boolean_envvar ( os . getenv ( 'WALE_S3_INTEGRATION_TESTS' ) ) is not True ) : return True for e_var in ( 'AWS_ACCESS_KEY_ID' , 'AWS_SECRET_ACCESS_KEY' ) : if ( os . getenv ( e_var ) is None ) : return True return False
helps skip integration tests without live credentials .