Skip to content

Commit

Permalink
tests: check for CI env var instead of TRAVIS specifically
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Mar 1, 2024
1 parent 29a49b0 commit c07dede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdrivefs/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c07dede

Please sign in to comment.