MCPcopy Create free account
hub / github.com/StackStorm/st2 / test_args_base_only

Method test_args_base_only

st2client/tests/unit/test_client.py:205–214  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 )
204
205 def test_args_base_only(self):
206 base_url = "http://www.stackstorm.com"
207 api_url = "http://www.stackstorm.com:9101/v1"
208 stream_url = "http://www.stackstorm.com:9102/v1"
209
210 client = Client(base_url=base_url)
211 endpoints = client.endpoints
212 self.assertEqual(endpoints["base"], base_url)
213 self.assertEqual(endpoints["api"], api_url)
214 self.assertEqual(endpoints["stream"], stream_url)

Callers

nothing calls this directly

Calls 1

ClientClass · 0.90

Tested by

no test coverage detected