mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
tests: gdrive: skip if env var is empty
This commit is contained in:
@@ -16,7 +16,7 @@ TEST_GDRIVE_REPO_BUCKET = "root"
|
||||
class GDrive(Base, CloudURLInfo):
|
||||
@staticmethod
|
||||
def should_test():
|
||||
return os.getenv(GDriveTree.GDRIVE_CREDENTIALS_DATA) is not None
|
||||
return bool(os.getenv(GDriveTree.GDRIVE_CREDENTIALS_DATA))
|
||||
|
||||
@cached_property
|
||||
def config(self):
|
||||
|
||||
Reference in New Issue
Block a user