From c07dede3f152237631467cedf5294562b80b9cff Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sat, 2 Mar 2024 01:39:49 +0200 Subject: [PATCH] tests: check for CI env var instead of TRAVIS specifically --- gdrivefs/tests/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdrivefs/tests/test_core.py b/gdrivefs/tests/test_core.py index 167766a..f5ffcfc 100644 --- a/gdrivefs/tests/test_core.py +++ b/gdrivefs/tests/test_core.py @@ -8,7 +8,7 @@ @pytest.fixture() def creds(): - tfile = "tfile.pickle" if os.environ.get("TRAVIS", "") else None + tfile = "tfile.pickle" if os.environ.get("CI", "") else None fs = gdrivefs.GoogleDriveFileSystem(token='cache', tokens_file=tfile) if fs.exists(testdir): fs.rm(testdir, recursive=True)