MCPcopy Index your code
hub / github.com/simstudioai/sim / test_simstudio_error

Function test_simstudio_error

packages/python-sdk/tests/test_client.py:57–62  ·  view source on GitHub ↗

Test SimStudioError creation.

()

Source from the content-addressed store, hash-verified

55
56
57def test_simstudio_error():
58 """Test SimStudioError creation."""
59 error = SimStudioError("Test error", "TEST_CODE", 400)
60 assert str(error) == "Test error"
61 assert error.code == "TEST_CODE"
62 assert error.status == 400
63
64
65def test_workflow_execution_result():

Callers

nothing calls this directly

Calls 2

SimStudioErrorClass · 0.90
strFunction · 0.85

Tested by

no test coverage detected