We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5e31a9 + de939a8 commit be9f083Copy full SHA for be9f083
tests/integration/test_iam.py
@@ -1,5 +1,6 @@
1
import pytest
2
3
+from databricks.sdk import errors
4
from databricks.sdk.core import DatabricksError
5
6
@@ -13,7 +14,7 @@ def test_scim_error_unmarshall(w, random):
13
14
with pytest.raises(DatabricksError) as exc_info:
15
groups = w.groups.list(filter=random(12))
16
next(groups)
- assert 'Given filter operator is not supported' in str(exc_info.value)
17
+ assert isinstance(exc_info.value, errors.BadRequest)
18
19
20
def test_scim_get_user_as_dict(w):
0 commit comments