From 455e9417d11d0903c1435fe7acb98b8a15e23746 Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Thu, 25 Jul 2024 19:49:58 -0400 Subject: [PATCH] fix(io): skip doctests that require gcp credentials Signed-off-by: Cameron Smith --- src/pyrovelocity/io/gcs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pyrovelocity/io/gcs.py b/src/pyrovelocity/io/gcs.py index 402d58b3d..efa9cde87 100644 --- a/src/pyrovelocity/io/gcs.py +++ b/src/pyrovelocity/io/gcs.py @@ -32,6 +32,8 @@ def download_blob_from_uri( concurrent chunks. Defaults to False. Example: + >>> # xdoctest: +SKIP + >>> # requires google credentials >>> tmp = getfixture("tmp_path") >>> import os >>> from pathlib import Path @@ -114,6 +116,8 @@ def download_bucket_from_uri( Result[str, Exception]: A Result object encapsulating success or failure. Examples: + >>> # xdoctest: +SKIP + >>> # requires google credentials >>> tmp = getfixture("tmp_path") >>> bucket_uri = ( "gs://gcp-public-data-landsat/LC08/01/044/034/"