From 9ee5018c633a391aa6389d4433d79634d547feb3 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Tue, 6 Oct 2020 01:43:39 +0300 Subject: [PATCH] tests: gdrive: skip if env var is empty --- tests/remotes/gdrive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/remotes/gdrive.py b/tests/remotes/gdrive.py index 60770c353..2fd90df22 100644 --- a/tests/remotes/gdrive.py +++ b/tests/remotes/gdrive.py @@ -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):