File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def test_minds():
8282
8383 # create
8484 with pytest .raises (MindNameInvalid ):
85- mind = client .minds .create (
85+ client .minds .create (
8686 invalid_mind_name ,
8787 datasources = [ds ],
8888 provider = 'openai'
@@ -110,9 +110,6 @@ def test_minds():
110110 mind = client .minds .get (mind_name )
111111 assert len (mind .datasources ) == 2
112112 assert mind .prompt_template == prompt1
113-
114- with pytest .raises (MindNameInvalid ):
115- client .minds .get (invalid_mind_name )
116113
117114 # list
118115 mind_list = client .minds .list ()
@@ -179,6 +176,4 @@ def test_minds():
179176 client .minds .drop (mind_name2 )
180177 client .datasources .drop (ds .name )
181178 client .datasources .drop (ds2_cfg .name )
182-
183- with pytest .raises (MindNameInvalid ):
184- client .minds .drop (invalid_mind_name )
179+
You can’t perform that action at this time.
0 commit comments