Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Check private token length
  • Loading branch information
ianthomas23 committed Mar 6, 2026
commit fe3884a8752bcb481719493fe27f0fbc3ad402eb
4 changes: 2 additions & 2 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def private_test_repo():
# Fixture containing everything needed to access private github repo.
# GIT2CPP_TEST_PRIVATE_TOKEN is the fine-grained Personal Access Token for private test repo.
# If this is not available as an environment variable, tests that use this fixture are skipped.
token = os.getenv('GIT2CPP_TEST_PRIVATE_TOKEN')
if token is None:
token = os.getenv("GIT2CPP_TEST_PRIVATE_TOKEN")
if token is None or len(token) == 0:
pytest.skip("No token for private test repo GIT2CPP_TEST_PRIVATE_TOKEN")
repo_name = "git2cpp-test-private"
org_name = "QuantStack"
Expand Down
Loading