Skip to content

Commit 6833fde

Browse files
committed
Unit test - second negative test case
1 parent e26f075 commit 6833fde

1 file changed

Lines changed: 200 additions & 0 deletions

File tree

tests/unit/test_configuration.py

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,6 +2101,206 @@ def test_score_multiplier_mapping_not_loaded() -> None:
21012101
"chunk_filter_query": "Industry as appear us. Lead dream public compare.",
21022102
},
21032103
},
2104+
{
2105+
"name": "Marisa Johnson",
2106+
"service": {
2107+
"host": "Service visit sort name. Democratic increase desig",
2108+
"port": 260,
2109+
"base_url": "Deal level four maintain yeah arrive.",
2110+
"auth_enabled": False,
2111+
"workers": 448,
2112+
"color_log": True,
2113+
"access_log": True,
2114+
"tls_config": {
2115+
"tls_certificate_path": None,
2116+
"tls_key_path": "xyzzy",
2117+
"tls_key_password": None,
2118+
},
2119+
"root_path": "War under seem wide itself present.",
2120+
"cors": {
2121+
"allow_origins": ["However performance serve city close season."],
2122+
"allow_credentials": True,
2123+
"allow_methods": ["Official send ground.", "She sort drug heavy."],
2124+
"allow_headers": [
2125+
"Vote already window four still talk among lawyer.",
2126+
"Fly fact then five.",
2127+
"Bad factor she sort.",
2128+
],
2129+
},
2130+
},
2131+
"llama_stack": {
2132+
"url": None,
2133+
"api_key": "xyzzy",
2134+
"use_as_library_client": True,
2135+
"library_client_config_path": "Spend difficult identify go.",
2136+
"timeout": 689,
2137+
},
2138+
"user_data_collection": {
2139+
"feedback_enabled": True,
2140+
"feedback_storage": "Seem have part movie.",
2141+
"transcripts_enabled": True,
2142+
"transcripts_storage": None,
2143+
},
2144+
"database": {
2145+
"sqlite": {"db_path": "Book arrive hair seat popular."},
2146+
"postgres": None,
2147+
},
2148+
"mcp_servers": [
2149+
{
2150+
"name": "Pamela Frazier",
2151+
"provider_id": "Policy kind among effort.",
2152+
"url": "https://www.austin-richards.biz/",
2153+
"authorization_headers": {
2154+
"indeed": "Design kid official along lead nice trial.",
2155+
"spend": "Yourself sit continue.",
2156+
},
2157+
"headers": [
2158+
"Official end industry challenge system these cell.",
2159+
"Others cultural notice friend. Number air you insi",
2160+
"Nothing argue use like game.",
2161+
],
2162+
"timeout": None,
2163+
},
2164+
{
2165+
"name": "James Chavez",
2166+
"provider_id": "May smile develop TV. Trouble child piece same.",
2167+
"url": "https://www.harper.com/",
2168+
"authorization_headers": {"month": "Himself coach letter recently."},
2169+
"headers": ["Ago around car after too.", "Lawyer foot media standard."],
2170+
"timeout": "xyzzy",
2171+
},
2172+
],
2173+
"authentication": {
2174+
"module": "May American industry available. Language off word",
2175+
"skip_tls_verification": False,
2176+
"skip_for_health_probes": True,
2177+
"skip_for_metrics": True,
2178+
"k8s_cluster_api": "xyzzy",
2179+
"k8s_ca_cert_path": None,
2180+
"jwk_config": None,
2181+
"api_key_config": None,
2182+
"rh_identity_config": None,
2183+
},
2184+
"authorization": {
2185+
"access_rules": [
2186+
{
2187+
"role": "Oil add these though. Plan nothing dark.",
2188+
"actions": ["xyzzy", "xyzzy"],
2189+
},
2190+
{
2191+
"role": "Sister where owner west policy stop entire. From t",
2192+
"actions": ["xyzzy", "xyzzy"],
2193+
},
2194+
]
2195+
},
2196+
"customization": {
2197+
"profile_path": None,
2198+
"disable_query_system_prompt": False,
2199+
"disable_shield_ids_override": False,
2200+
"system_prompt_path": "xyzzy",
2201+
"system_prompt": None,
2202+
"agent_card_path": "xyzzy",
2203+
"agent_card_config": None,
2204+
"custom_profile": None,
2205+
},
2206+
"inference": {
2207+
"default_model": "Continue try science sense rich name.",
2208+
"default_provider": "Report whether hear chair.",
2209+
},
2210+
"conversation_cache": {
2211+
"type": "xyzzy",
2212+
"memory": {"max_entries": 666},
2213+
"sqlite": {"db_path": "Court size your eye choose."},
2214+
"postgres": None,
2215+
},
2216+
"byok_rag": [
2217+
{
2218+
"rag_id": "Authority kind apply arm manager local reveal.",
2219+
"rag_type": "Seem authority miss.",
2220+
"embedding_model": "Have news quality.",
2221+
"embedding_dimension": 310,
2222+
"vector_db_id": "Education hot full her. Serve mention save executi",
2223+
"db_path": "Every popular bit.",
2224+
"score_multiplier": 918.43,
2225+
},
2226+
{
2227+
"rag_id": "Avoid baby miss want education.",
2228+
"rag_type": "Sing answer rule soon.",
2229+
"embedding_model": "Year let example you paper develop tough.",
2230+
"embedding_dimension": 985,
2231+
"vector_db_id": "Operation conference phone.",
2232+
"db_path": "All effort True see.",
2233+
"score_multiplier": 788.57,
2234+
},
2235+
],
2236+
"a2a_state": {
2237+
"sqlite": {"db_path": "Green example walk become return front."},
2238+
"postgres": {
2239+
"host": "Culture stop finally break.",
2240+
"port": 854,
2241+
"db": "Like direction music.",
2242+
"user": "Newspaper compare color indicate lay.",
2243+
"password": "(5BuFj&vKMmV",
2244+
"namespace": "Summer risk where attention music mean recently.",
2245+
"ssl_mode": "Local run already walk. Manager contain eight rais",
2246+
"gss_encmode": "Economy picture long level seek. Learn hair foreig",
2247+
"ca_cert_path": "xyzzy",
2248+
},
2249+
},
2250+
"quota_handlers": {
2251+
"sqlite": {"db_path": "Good score hospital create son."},
2252+
"postgres": None,
2253+
"limiters": [
2254+
{
2255+
"type": "xyzzy",
2256+
"name": "Matthew Saunders",
2257+
"initial_quota": 987,
2258+
"quota_increase": 279,
2259+
"period": "Pass style back item.",
2260+
}
2261+
],
2262+
"scheduler": {
2263+
"period": 288,
2264+
"database_reconnection_count": 475,
2265+
"database_reconnection_delay": 526,
2266+
},
2267+
"enable_token_history": False,
2268+
},
2269+
"azure_entra_id": {
2270+
"tenant_id": "xyzzy",
2271+
"client_id": "xyzzy",
2272+
"client_secret": "xyzzy",
2273+
"scope": "Clearly fact general study.",
2274+
},
2275+
"rlsapi_v1": {"allow_verbose_infer": True, "quota_subject": "xyzzy"},
2276+
"splunk": {
2277+
"enabled": True,
2278+
"url": None,
2279+
"token_path": None,
2280+
"index": "Ok them various ok sit board.",
2281+
"source": "Interest degree foreign already.",
2282+
"timeout": 948,
2283+
"verify_ssl": False,
2284+
},
2285+
"deployment_environment": "Consumer center sign skin total.",
2286+
"rag": {
2287+
"inline": [
2288+
"True four lawyer sound. Light fund former art.",
2289+
"Perhaps theory remain. Marriage person put food.",
2290+
"Run behind single material else media.",
2291+
],
2292+
"tool": [
2293+
"Another Congress part seat bit.",
2294+
"Able main door under. Early consumer speech less c",
2295+
"Eat read shake three. Development cell mission.",
2296+
],
2297+
},
2298+
"okp": {
2299+
"rhokp_url": None,
2300+
"offline": True,
2301+
"chunk_filter_query": "And drug brother tell specific realize hit.",
2302+
},
2303+
},
21042304
]
21052305

21062306

0 commit comments

Comments
 (0)