We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39da5ec commit fe3884aCopy full SHA for fe3884a
test/conftest.py
@@ -73,8 +73,8 @@ def private_test_repo():
73
# Fixture containing everything needed to access private github repo.
74
# GIT2CPP_TEST_PRIVATE_TOKEN is the fine-grained Personal Access Token for private test repo.
75
# If this is not available as an environment variable, tests that use this fixture are skipped.
76
- token = os.getenv('GIT2CPP_TEST_PRIVATE_TOKEN')
77
- if token is None:
+ token = os.getenv("GIT2CPP_TEST_PRIVATE_TOKEN")
+ if token is None or len(token) == 0:
78
pytest.skip("No token for private test repo GIT2CPP_TEST_PRIVATE_TOKEN")
79
repo_name = "git2cpp-test-private"
80
org_name = "QuantStack"
0 commit comments