File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,23 +250,9 @@ def configure_mtls_expired_client_cert(context: Context) -> None:
250250 _write_config (config , _LLAMA_STACK_CONFIG )
251251
252252
253- @given ('Llama Stack is configured with TLS minimum version "{version}"' )
254- def configure_tls_min_version (context : Context , version : str ) -> None :
255- """Configure run.yaml with TLS minimum version.
256-
257- Parameters:
258- context: Behave test context.
259- version: The TLS version (e.g., "TLSv1.2", "TLSv1.3").
260- """
261- config , provider = _prepare_tls_provider ()
262- provider ["config" ]["network" ]["tls" ] = {
263- "verify" : "/certs/ca.crt" ,
264- "min_version" : version ,
265- }
266- _write_config (config , _LLAMA_STACK_CONFIG )
267-
268-
269- @given ('Llama Stack is configured with TLS minimum version "{version}" and CA certificate path "{path}"' )
253+ @given (
254+ 'Llama Stack is configured with TLS minimum version "{version}" and CA certificate path "{path}"'
255+ )
270256def configure_tls_min_version_with_ca_path (
271257 context : Context , version : str , path : str
272258) -> None :
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ Feature: TLS configuration for remote inference providers
117117 And The body of the response does not contain Hello from the TLS mock inference server
118118
119119 Scenario : Inference succeeds with TLS minimum version TLSv1.3
120- Given Llama Stack is configured with TLS minimum version "TLSv1.3"
120+ Given Llama Stack is configured with TLS minimum version "TLSv1.3" and CA certificate path "/certs/ca.crt"
121121 And Llama Stack is restarted
122122 And Lightspeed Stack is restarted
123123 When I use "query" to ask question
You can’t perform that action at this time.
0 commit comments