Skip to content

Commit 06cf91f

Browse files
committed
New unit test #2
1 parent 6e19e5c commit 06cf91f

1 file changed

Lines changed: 232 additions & 0 deletions

File tree

tests/unit/test_configuration.py

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,6 +2565,238 @@ def test_score_multiplier_mapping_not_loaded() -> None:
25652565
},
25662566
"okp": {"rhokp_url": "xyzzy", "offline": True, "chunk_filter_query": None},
25672567
},
2568+
{
2569+
"name": "Mr. Michael Wilson",
2570+
"service": {
2571+
"host": "Treat surface can cup green. Congress forward capi",
2572+
"port": 450,
2573+
"base_url": "Despite above may foot official first decision.",
2574+
"auth_enabled": True,
2575+
"workers": 2,
2576+
"color_log": True,
2577+
"access_log": False,
2578+
"tls_config": {
2579+
"tls_certificate_path": "xyzzy",
2580+
"tls_key_path": None,
2581+
"tls_key_password": "xyzzy",
2582+
},
2583+
"root_path": "Set step bill begin loss until store.",
2584+
"cors": {
2585+
"allow_origins": [
2586+
"When seat share nor. Accept could model add.",
2587+
"Time family their fund.",
2588+
"Toward happy class back.",
2589+
],
2590+
"allow_credentials": False,
2591+
"allow_methods": [
2592+
"Design account nature civil.",
2593+
"Fund budget population. Country staff vote cover o",
2594+
"Consumer young believe head song.",
2595+
],
2596+
"allow_headers": [
2597+
"Affect sport require hotel draw song find.",
2598+
"Month one line Mr character student.",
2599+
],
2600+
},
2601+
},
2602+
"llama_stack": {
2603+
"url": "http://fowler-webb.com/",
2604+
"api_key": "xyzzy",
2605+
"use_as_library_client": None,
2606+
"library_client_config_path": "To history chance benefit wall look budget might.",
2607+
"timeout": 948,
2608+
},
2609+
"user_data_collection": {
2610+
"feedback_enabled": True,
2611+
"feedback_storage": "Option like serious.",
2612+
"transcripts_enabled": True,
2613+
"transcripts_storage": "Democrat movement station rule past.",
2614+
},
2615+
"database": {"sqlite": None, "postgres": None},
2616+
"mcp_servers": [
2617+
{
2618+
"name": "Larry Mason",
2619+
"provider_id": "West result land much. Lose along staff author cho",
2620+
"url": "http://www.castro-aguilar.com/",
2621+
"authorization_headers": {
2622+
"section": "Instead plan light fund require majority.",
2623+
"discuss": "Bar the one.",
2624+
"bank": "Forward bring over end popular.",
2625+
},
2626+
"headers": [
2627+
"Use but study machine to must certainly.",
2628+
"How church truth life despite field.",
2629+
"Get Mrs young value sound on avoid. Law me green a",
2630+
],
2631+
"timeout": None,
2632+
},
2633+
{
2634+
"name": "Monica Brown",
2635+
"provider_id": "Southern eight too tax.",
2636+
"url": "http://www.page.com/",
2637+
"authorization_headers": {"involve": "Wrong able nothing."},
2638+
"headers": ["Hold know factor east."],
2639+
"timeout": "xyzzy",
2640+
},
2641+
{
2642+
"name": "Joseph Estrada",
2643+
"provider_id": "Shoulder door realize.",
2644+
"url": "https://chapman.com/",
2645+
"authorization_headers": {
2646+
"around": "Recent lot explain film.",
2647+
"car": "Beyond matter woman exist. Help small future reduc",
2648+
"artist": "Wide safe message adult.",
2649+
},
2650+
"headers": [
2651+
"Song sure science strategy bring thus.",
2652+
"Election once part.",
2653+
],
2654+
"timeout": "xyzzy",
2655+
},
2656+
],
2657+
"authentication": {
2658+
"module": "Site of method money.",
2659+
"skip_tls_verification": False,
2660+
"skip_for_health_probes": True,
2661+
"skip_for_metrics": True,
2662+
"k8s_cluster_api": None,
2663+
"k8s_ca_cert_path": None,
2664+
"jwk_config": {
2665+
"url": "http://www.parker.net/",
2666+
"jwt_configuration": {
2667+
"user_id_claim": "Free old treat range remember democratic.",
2668+
"username_claim": "Ten mouth art newspaper.",
2669+
"role_rules": [
2670+
{
2671+
"jsonpath": "New note several. Any piece per.",
2672+
"operator": "xyzzy",
2673+
"negate": True,
2674+
"value": "any_value_placeholder",
2675+
"roles": ["Age official spend run soon hotel."],
2676+
}
2677+
],
2678+
},
2679+
},
2680+
"api_key_config": None,
2681+
"rh_identity_config": {
2682+
"required_entitlements": [
2683+
"Need man defense effort television market what.",
2684+
"Live century least light couple.",
2685+
"Leg forward analysis he everyone.",
2686+
],
2687+
"max_header_size": 741,
2688+
},
2689+
},
2690+
"authorization": None,
2691+
"customization": None,
2692+
"inference": {
2693+
"default_model": None,
2694+
"default_provider": "Unit guy agree reason.",
2695+
},
2696+
"conversation_cache": {
2697+
"type": None,
2698+
"memory": None,
2699+
"sqlite": None,
2700+
"postgres": None,
2701+
},
2702+
"byok_rag": [
2703+
{
2704+
"rag_id": "Sometimes once win young bar right. Star keep cult",
2705+
"rag_type": "Produce energy skill art.",
2706+
"embedding_model": "Beautiful series message.",
2707+
"embedding_dimension": 739,
2708+
"vector_db_id": "Visit night city.",
2709+
"db_path": "Paper investment game.",
2710+
"score_multiplier": 962.12,
2711+
},
2712+
{
2713+
"rag_id": "Standard might new national produce thank bill.",
2714+
"rag_type": "Bar else center dinner great. Wrong ability big.",
2715+
"embedding_model": "Building try left general.",
2716+
"embedding_dimension": 973,
2717+
"vector_db_id": "Issue never physical stuff edge fire research.",
2718+
"db_path": "Help hope our would discussion. Than plan task.",
2719+
"score_multiplier": 732.93,
2720+
},
2721+
{
2722+
"rag_id": "Air culture explain child.",
2723+
"rag_type": "Reach must moment.",
2724+
"embedding_model": "Manage anyone police someone church.",
2725+
"embedding_dimension": 691,
2726+
"vector_db_id": "Far tough individual painting send minute.",
2727+
"db_path": "Head major down soon.",
2728+
"score_multiplier": 485.53,
2729+
},
2730+
],
2731+
"a2a_state": {
2732+
"sqlite": None,
2733+
"postgres": {
2734+
"host": "Certainly realize walk kind action.",
2735+
"port": 756,
2736+
"db": "Plant involve because break.",
2737+
"user": "Spend medical report pull. Bank view word maybe.",
2738+
"password": "U)W92To1*^FF",
2739+
"namespace": "Important everyone one song.",
2740+
"ssl_mode": "Same ground media those.",
2741+
"gss_encmode": "Rather task week stage model.",
2742+
"ca_cert_path": "xyzzy",
2743+
},
2744+
},
2745+
"quota_handlers": {
2746+
"sqlite": {"db_path": "Kind expect sell when."},
2747+
"postgres": {
2748+
"host": "Population plan short concern marriage.",
2749+
"port": 218,
2750+
"db": "Administration minute remember.",
2751+
"user": "Including certainly city police.",
2752+
"password": "lhxJKs_b%7$2",
2753+
"namespace": None,
2754+
"ssl_mode": "Ok continue newspaper talk.",
2755+
"gss_encmode": "Nature certain that recent. Across we issue blue n",
2756+
"ca_cert_path": "xyzzy",
2757+
},
2758+
"limiters": [
2759+
{
2760+
"type": "xyzzy",
2761+
"name": "Shelia Soto",
2762+
"initial_quota": 942,
2763+
"quota_increase": 622,
2764+
"period": "Page only recently range glass himself.",
2765+
},
2766+
{
2767+
"type": "xyzzy",
2768+
"name": "James Long",
2769+
"initial_quota": 196,
2770+
"quota_increase": 446,
2771+
"period": "Apply great whatever factor.",
2772+
},
2773+
],
2774+
"scheduler": {
2775+
"period": 602,
2776+
"database_reconnection_count": 33,
2777+
"database_reconnection_delay": 816,
2778+
},
2779+
"enable_token_history": False,
2780+
},
2781+
"azure_entra_id": {
2782+
"tenant_id": "xyzzy",
2783+
"client_id": "xyzzy",
2784+
"client_secret": "xyzzy",
2785+
"scope": "Blue author defense. Such visit challenge all loss",
2786+
},
2787+
"rlsapi_v1": {"allow_verbose_infer": True, "quota_subject": None},
2788+
"splunk": None,
2789+
"deployment_environment": "Must no land member.",
2790+
"rag": {
2791+
"inline": [
2792+
"Image police section carry. Order walk state commu",
2793+
"Society be night participant seat.",
2794+
"Minute skin again.",
2795+
],
2796+
"tool": ["Use hotel often deal light teacher. Improve more m"],
2797+
},
2798+
"okp": {"rhokp_url": None, "offline": False, "chunk_filter_query": None},
2799+
},
25682800
]
25692801

25702802

0 commit comments

Comments
 (0)