Skip to content

Commit f46442a

Browse files
committed
Second test for loading configuration
1 parent c36013a commit f46442a

1 file changed

Lines changed: 282 additions & 1 deletion

File tree

tests/unit/test_configuration.py

Lines changed: 282 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,288 @@ def test_score_multiplier_mapping_not_loaded() -> None:
14121412
"offline": True,
14131413
"chunk_filter_query": "Foreign space system.",
14141414
},
1415-
}
1415+
},
1416+
{
1417+
"name": "Nathaniel Williams",
1418+
"service": {
1419+
"host": "Response although crime less.",
1420+
"port": 275,
1421+
"base_url": None,
1422+
"auth_enabled": False,
1423+
"workers": 218,
1424+
"color_log": False,
1425+
"access_log": True,
1426+
"tls_config": {
1427+
"tls_certificate_path": None,
1428+
"tls_key_path": None,
1429+
"tls_key_password": "password",
1430+
},
1431+
"root_path": "Model something information strong focus.",
1432+
"cors": {
1433+
"allow_origins": [
1434+
"Clear yes hand language.",
1435+
"Expect will research bag. Standard exist property ",
1436+
"Cultural their pass explain.",
1437+
],
1438+
"allow_credentials": False,
1439+
"allow_methods": [
1440+
"Wind hit work arm man.",
1441+
"Cost food serve national education. Painting wide ",
1442+
],
1443+
"allow_headers": ["At professor seek hospital eat."],
1444+
},
1445+
},
1446+
"llama_stack": {
1447+
"url": None,
1448+
"api_key": None,
1449+
"use_as_library_client": None,
1450+
"library_client_config_path": None,
1451+
"timeout": 890,
1452+
},
1453+
"user_data_collection": {
1454+
"feedback_enabled": True,
1455+
"feedback_storage": "Travel consider themselves trouble there budget.",
1456+
"transcripts_enabled": True,
1457+
"transcripts_storage": None,
1458+
},
1459+
"database": {
1460+
"sqlite": {"db_path": "Will yet other need."},
1461+
"postgres": {
1462+
"host": "Bar various source each.",
1463+
"port": 236,
1464+
"db": "Positive federal organization between knowledge so",
1465+
"user": "Score girl far party example care leave.",
1466+
"password": "mOW_ES5n7TB6",
1467+
"namespace": "If act test financial.",
1468+
"ssl_mode": "Whether bad still use.",
1469+
"gss_encmode": "Easy agreement authority again rest.",
1470+
"ca_cert_path": None,
1471+
},
1472+
},
1473+
"mcp_servers": [
1474+
{
1475+
"name": "William Roberts",
1476+
"provider_id": "Represent surface stuff.",
1477+
"url": "https://www.rodriguez-cross.com/",
1478+
"authorization_headers": {
1479+
"a": "Technology sure event third go for institution mon",
1480+
"yourself": "Physical will coach.",
1481+
"size": "Start wife body.",
1482+
},
1483+
"headers": [
1484+
"Be recognize civil.",
1485+
"Senior system give.",
1486+
"Son often them resource her star thus.",
1487+
],
1488+
"timeout": None,
1489+
},
1490+
{
1491+
"name": "William Maldonado",
1492+
"provider_id": "Yet our town hope.",
1493+
"url": "https://collins.com/",
1494+
"authorization_headers": {
1495+
"then": "Water we provide those leader less chance.",
1496+
"whom": "Theory single common sing what for.",
1497+
"manage": "Keep thousand ground.",
1498+
},
1499+
"headers": [
1500+
"Those manage area light. Large authority lawyer le",
1501+
"Bed speech adult imagine office.",
1502+
"Decide analysis.",
1503+
],
1504+
"timeout": "-10",
1505+
},
1506+
{
1507+
"name": "Ashley Walker",
1508+
"provider_id": "Case film eight early.",
1509+
"url": "https://www.davis-wilson.net/",
1510+
"authorization_headers": {
1511+
"amount": "Customer religious let ever.",
1512+
"deep": "Nothing indeed but argue single.",
1513+
},
1514+
"headers": ["Call street easy lawyer quite enjoy once task. Mil"],
1515+
"timeout": "-10",
1516+
},
1517+
],
1518+
"authentication": {
1519+
"module": "Arrive blue lose rock.",
1520+
"skip_tls_verification": False,
1521+
"skip_for_health_probes": True,
1522+
"skip_for_metrics": False,
1523+
"k8s_cluster_api": None,
1524+
"k8s_ca_cert_path": None,
1525+
"jwk_config": {
1526+
"url": "https://davis.org/",
1527+
"jwt_configuration": {
1528+
"user_id_claim": "Reason million financial raise environmental.",
1529+
"username_claim": "Wonder activity yes.",
1530+
"role_rules": [
1531+
{
1532+
"jsonpath": "Social bank buy.",
1533+
"operator": "-10",
1534+
"negate": True,
1535+
"value": "any_value_placeholder",
1536+
"roles": ["Part house prevent story."],
1537+
},
1538+
{
1539+
"jsonpath": "Outside how note when. Mr entire affect usually.",
1540+
"operator": "-10",
1541+
"negate": False,
1542+
"value": "any_value_placeholder",
1543+
"roles": [
1544+
"Store child serious.",
1545+
"Song plant sense technology though consider. Paren",
1546+
],
1547+
},
1548+
{
1549+
"jsonpath": "Family light power color number. Treat court stuff",
1550+
"operator": "-10",
1551+
"negate": False,
1552+
"value": "any_value_placeholder",
1553+
"roles": [
1554+
"Television set over offer task north card those."
1555+
],
1556+
},
1557+
],
1558+
},
1559+
},
1560+
"api_key_config": None,
1561+
"rh_identity_config": None,
1562+
},
1563+
"authorization": {
1564+
"access_rules": [
1565+
{"role": "Perhaps idea nothing attorney word.", "actions": ["action1"]},
1566+
{
1567+
"role": "Somebody operation involve alone. Born example sea",
1568+
"actions": ["action1", "action2"],
1569+
},
1570+
{
1571+
"role": "Watch most resource word information allow ability",
1572+
"actions": ["action1"],
1573+
},
1574+
]
1575+
},
1576+
"customization": {
1577+
"profile_path": None,
1578+
"disable_query_system_prompt": False,
1579+
"disable_shield_ids_override": True,
1580+
"system_prompt_path": "/",
1581+
"system_prompt": None,
1582+
"agent_card_path": "/",
1583+
"agent_card_config": None,
1584+
"custom_profile": "/",
1585+
},
1586+
"inference": {
1587+
"default_model": "Fill popular near avoid family year.",
1588+
"default_provider": "Pressure former operation table start president.",
1589+
},
1590+
"conversation_cache": {
1591+
"type": "noop",
1592+
"memory": None,
1593+
"sqlite": {"db_path": "Own relationship back production."},
1594+
"postgres": {
1595+
"host": "Religious author little. Thought bring agency rais",
1596+
"port": 146,
1597+
"db": "Other safe resource stop.",
1598+
"user": "Concern center once music activity bad thousand.",
1599+
"password": "zHDCzco5^S2Z",
1600+
"namespace": None,
1601+
"ssl_mode": "Run claim process large.",
1602+
"gss_encmode": "Tv east art pattern.",
1603+
"ca_cert_path": "certs",
1604+
},
1605+
},
1606+
"byok_rag": [
1607+
{
1608+
"rag_id": "Tonight relate there record.",
1609+
"rag_type": "Politics development real play main chair capital ",
1610+
"embedding_model": "Prepare memory outside.",
1611+
"embedding_dimension": 449,
1612+
"vector_db_id": "Political right gun law public group rock.",
1613+
"db_path": "Consider still recognize church. Area suggest noth",
1614+
"score_multiplier": 183.85,
1615+
},
1616+
{
1617+
"rag_id": "One again under respond poor beyond.",
1618+
"rag_type": "Six base physical.",
1619+
"embedding_model": "Surface that choice.",
1620+
"embedding_dimension": 736,
1621+
"vector_db_id": "Forget level other agreement.",
1622+
"db_path": "Argue pull out race town.",
1623+
"score_multiplier": 225.21,
1624+
},
1625+
],
1626+
"a2a_state": {"sqlite": None, "postgres": None},
1627+
"quota_handlers": {
1628+
"sqlite": None,
1629+
"postgres": {
1630+
"host": "List fund yes kitchen meet southern.",
1631+
"port": 337,
1632+
"db": "Five rest behavior tonight couple.",
1633+
"user": "Message accept whom authority.",
1634+
"password": "B28qYhFt$nnI",
1635+
"namespace": None,
1636+
"ssl_mode": "Teach wide worry tend.",
1637+
"gss_encmode": "Example weight window.",
1638+
"ca_cert_path": "/",
1639+
},
1640+
"limiters": [
1641+
{
1642+
"type": "user_limiter",
1643+
"name": "Michael Jackson",
1644+
"initial_quota": 371,
1645+
"quota_increase": 210,
1646+
"period": "Start skill miss economy know.",
1647+
},
1648+
{
1649+
"type": "user_limiter",
1650+
"name": "Richard Moore",
1651+
"initial_quota": 189,
1652+
"quota_increase": 83,
1653+
"period": "Another maybe certainly week trouble.",
1654+
},
1655+
{
1656+
"type": "user_limiter",
1657+
"name": "Charlene Perez",
1658+
"initial_quota": 387,
1659+
"quota_increase": 8,
1660+
"period": "Music difficult enough.",
1661+
},
1662+
],
1663+
"scheduler": {
1664+
"period": 825,
1665+
"database_reconnection_count": 896,
1666+
"database_reconnection_delay": 669,
1667+
},
1668+
"enable_token_history": False,
1669+
},
1670+
"azure_entra_id": {
1671+
"tenant_id": "id",
1672+
"client_id": "id",
1673+
"client_secret": "secrer",
1674+
"scope": "Claim thought seat use.",
1675+
},
1676+
"rlsapi_v1": {"allow_verbose_infer": False, "quota_subject": None},
1677+
"splunk": {
1678+
"enabled": True,
1679+
"url": "https://george-ferguson.org/",
1680+
"token_path": "/",
1681+
"index": None,
1682+
"source": "Successful impact understand least generation cust",
1683+
"timeout": 850,
1684+
"verify_ssl": False,
1685+
},
1686+
"deployment_environment": "Vote mean answer simply turn project.",
1687+
"rag": {
1688+
"inline": [
1689+
"Billion job provide take other.",
1690+
"Eight total figure surface development include out",
1691+
"Which from cover not choice bring sister front.",
1692+
],
1693+
"tool": ["Ground appear group institution."],
1694+
},
1695+
"okp": {"rhokp_url": None, "offline": False, "chunk_filter_query": None},
1696+
},
14161697
]
14171698

14181699

0 commit comments

Comments
 (0)