File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
services/director-v2/tests/unit Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ async def test_resolve_and_substitute_session_variables_in_specs(
187187 specs = specs ,
188188 user_id = 1 ,
189189 product_name = "a_product" ,
190+ product_api_base_url = faker .url (),
190191 project_id = faker .uuid4 (cast_to = None ),
191192 node_id = faker .uuid4 (cast_to = None ),
192193 service_run_id = ServiceRunID ("some_run_id" ),
@@ -223,8 +224,10 @@ async def test_substitute_vendor_secrets_in_specs(
223224 fake_app ,
224225 specs = specs ,
225226 product_name = "a_product" ,
226- service_key = ServiceKey ("simcore/services/dynamic/fake" ),
227- service_version = ServiceVersion ("0.0.1" ),
227+ service_key = TypeAdapter (ServiceKey ).validate_python (
228+ "simcore/services/dynamic/fake"
229+ ),
230+ service_version = TypeAdapter (ServiceVersion ).validate_python ("0.0.1" ),
228231 )
229232 print ("REPLACED SPECS\n " , replaced_specs )
230233
You can’t perform that action at this time.
0 commit comments