File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
tests/integration/synapseclient/models/async Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ class TestAgentSession:
60
60
@pytest .fixture (autouse = True , scope = "function" )
61
61
def init (self , syn : Synapse ) -> None :
62
62
self .syn = syn
63
+ if syn .repoEndpoint == "https://repo-dev.dev.sagebase.org/repo/v1" :
64
+ self .AGENT_REGISTRATION_ID = "7"
65
+ else :
66
+ self .AGENT_REGISTRATION_ID = "29"
63
67
64
68
async def test_start (self ) -> None :
65
69
# GIVEN an agent session with a valid agent registration id
@@ -147,6 +151,10 @@ def get_test_agent(self) -> Agent:
147
151
@pytest .fixture (autouse = True , scope = "function" )
148
152
def init (self , syn : Synapse ) -> None :
149
153
self .syn = syn
154
+ if syn .repoEndpoint == "https://repo-dev.dev.sagebase.org/repo/v1" :
155
+ self .AGENT_REGISTRATION_ID = "7"
156
+ else :
157
+ self .AGENT_REGISTRATION_ID = "29"
150
158
151
159
async def test_register (self ) -> None :
152
160
# GIVEN an Agent with a valid agent AWS id
You can’t perform that action at this time.
0 commit comments