Skip to content

Commit

Permalink
fix(io): skip doctests that require gcp credentials
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
  • Loading branch information
cameronraysmith committed Jul 25, 2024
1 parent c06606c commit 455e941
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pyrovelocity/io/gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/"
Expand Down

0 comments on commit 455e941

Please sign in to comment.