Skip to content

Commit 9c9e04b

Browse files
authored
Update test_project_collaboration.py
1 parent 726b496 commit 9c9e04b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_project_collaboration.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
DeleteCollaboratorResponse
2121
)
2222

23+
COLLABORATOR_ID = os.getenv('QUANTCONNECT_COLLABORATOR_ID')
2324

2425
class ProjectCollaboration:
2526

@@ -75,15 +76,15 @@ async def delete(project_id, collaborator_id):
7576
# Test suite:
7677
class TestProjectCollaboration:
7778

78-
_collaborator_id = os.getenv('QUANTCONNECT_COLLABORATOR_ID')
79+
_collaborator_id = COLLABORATOR_ID#os.getenv('QUANTCONNECT_COLLABORATOR_ID')
7980

8081
@pytest.mark.asyncio
8182
@pytest.mark.parametrize('language', ['Py', 'C#'])
8283
@pytest.mark.parametrize('collaboration_live_control', [True, False])
8384
@pytest.mark.parametrize('collaboration_write', [True, False])
8485
async def test_create_project_collaboration(
8586
self, language, collaboration_live_control, collaboration_write):
86-
self._collaborator_id = os.getenv('QUANTCONNECT_COLLABORATOR_ID')
87+
self._collaborator_id = COLLABORATOR_ID
8788
# Create a project.
8889
project_id = (await Project.create(language=language)).projectId
8990
# Add a collaborator.

0 commit comments

Comments
 (0)