Skip to content

Commit 0102958

Browse files
committed
Third test for loading configuration
1 parent f46442a commit 0102958

1 file changed

Lines changed: 182 additions & 0 deletions

File tree

tests/unit/test_configuration.py

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,188 @@ def test_score_multiplier_mapping_not_loaded() -> None:
16941694
},
16951695
"okp": {"rhokp_url": None, "offline": False, "chunk_filter_query": None},
16961696
},
1697+
{
1698+
"name": "Patricia Henderson",
1699+
"service": {
1700+
"host": "High politics role market party factor yourself. H",
1701+
"port": 65,
1702+
"base_url": "Song list by notice decide politics.",
1703+
"auth_enabled": True,
1704+
"workers": 248,
1705+
"color_log": True,
1706+
"access_log": False,
1707+
"tls_config": {
1708+
"tls_certificate_path": None,
1709+
"tls_key_path": None,
1710+
"tls_key_password": "xyzzy",
1711+
},
1712+
"root_path": "Another budget miss with my pretty.",
1713+
"cors": {
1714+
"allow_origins": ["Edge yes right already."],
1715+
"allow_credentials": True,
1716+
"allow_methods": ["Include game information. Become mother today."],
1717+
"allow_headers": [
1718+
"Recent crime seem ten.",
1719+
"Yeah fear design few.",
1720+
"Information story.",
1721+
],
1722+
},
1723+
},
1724+
"llama_stack": {
1725+
"url": "http://www.cameron.com/",
1726+
"api_key": "xyzzy",
1727+
"use_as_library_client": False,
1728+
"library_client_config_path": "Write past admit hand area surface.",
1729+
"timeout": 237,
1730+
},
1731+
"user_data_collection": {
1732+
"feedback_enabled": True,
1733+
"feedback_storage": "Poor have happen.",
1734+
"transcripts_enabled": True,
1735+
"transcripts_storage": "Ask sport choice along. Ever concern table traditi",
1736+
},
1737+
"database": {"sqlite": None, "postgres": None},
1738+
"mcp_servers": [
1739+
{
1740+
"name": "Colleen Villanueva",
1741+
"provider_id": "Every present recently.",
1742+
"url": "https://www.taylor.com/",
1743+
"authorization_headers": {
1744+
"four": "Have camera third when across too.",
1745+
"dinner": "Field run hair.",
1746+
"machine": "Time find prove war.",
1747+
},
1748+
"headers": [
1749+
"Author heavy now start allow focus.",
1750+
"Eat before by.",
1751+
"Serious best talk never.",
1752+
],
1753+
"timeout": None,
1754+
}
1755+
],
1756+
"authentication": {
1757+
"module": "Offer to trouble off chance personal.",
1758+
"skip_tls_verification": False,
1759+
"skip_for_health_probes": False,
1760+
"skip_for_metrics": True,
1761+
"k8s_cluster_api": None,
1762+
"k8s_ca_cert_path": "xyzzy",
1763+
"jwk_config": None,
1764+
"api_key_config": None,
1765+
"rh_identity_config": None,
1766+
},
1767+
"authorization": {
1768+
"access_rules": [
1769+
{
1770+
"role": "Nothing development house computer.",
1771+
"actions": ["xyzzy", "xyzzy", "xyzzy"],
1772+
},
1773+
{
1774+
"role": "Sea coach without wide audience pretty fine.",
1775+
"actions": ["xyzzy", "xyzzy"],
1776+
},
1777+
{
1778+
"role": "Will Congress style picture deal. Explain set assu",
1779+
"actions": ["xyzzy"],
1780+
},
1781+
]
1782+
},
1783+
"customization": {
1784+
"profile_path": None,
1785+
"disable_query_system_prompt": False,
1786+
"disable_shield_ids_override": False,
1787+
"system_prompt_path": "xyzzy",
1788+
"system_prompt": None,
1789+
"agent_card_path": "xyzzy",
1790+
"agent_card_config": None,
1791+
"custom_profile": None,
1792+
},
1793+
"inference": {
1794+
"default_model": "Television someone about wall join.",
1795+
"default_provider": None,
1796+
},
1797+
"conversation_cache": {
1798+
"type": None,
1799+
"memory": None,
1800+
"sqlite": None,
1801+
"postgres": None,
1802+
},
1803+
"byok_rag": [
1804+
{
1805+
"rag_id": "Something worker campaign war through.",
1806+
"rag_type": "Check simple since next then statement.",
1807+
"embedding_model": "Class third author series.",
1808+
"embedding_dimension": 211,
1809+
"vector_db_id": "Less put site alone amount.",
1810+
"db_path": "Live child most throughout.",
1811+
"score_multiplier": 252.41,
1812+
}
1813+
],
1814+
"a2a_state": {"sqlite": None, "postgres": None},
1815+
"quota_handlers": {
1816+
"sqlite": None,
1817+
"postgres": None,
1818+
"limiters": [
1819+
{
1820+
"type": "xyzzy",
1821+
"name": "Jerry Brown",
1822+
"initial_quota": 532,
1823+
"quota_increase": 509,
1824+
"period": "After determine almost make yeah support. Away tak",
1825+
},
1826+
{
1827+
"type": "xyzzy",
1828+
"name": "James Martin",
1829+
"initial_quota": 167,
1830+
"quota_increase": 278,
1831+
"period": "Book gas exist these.",
1832+
},
1833+
{
1834+
"type": "xyzzy",
1835+
"name": "Mr. Douglas Kelly DDS",
1836+
"initial_quota": 210,
1837+
"quota_increase": 930,
1838+
"period": "Section many southern new.",
1839+
},
1840+
],
1841+
"scheduler": {
1842+
"period": 984,
1843+
"database_reconnection_count": 118,
1844+
"database_reconnection_delay": 961,
1845+
},
1846+
"enable_token_history": False,
1847+
},
1848+
"azure_entra_id": {
1849+
"tenant_id": "xyzzy",
1850+
"client_id": "xyzzy",
1851+
"client_secret": "xyzzy",
1852+
"scope": "Spring billion represent town actually serious mor",
1853+
},
1854+
"rlsapi_v1": {"allow_verbose_infer": False, "quota_subject": "xyzzy"},
1855+
"splunk": {
1856+
"enabled": False,
1857+
"url": "http://www.bell.com/",
1858+
"token_path": "xyzzy",
1859+
"index": None,
1860+
"source": "Risk condition boy conference particularly control",
1861+
"timeout": 398,
1862+
"verify_ssl": False,
1863+
},
1864+
"deployment_environment": "Mouth view form.",
1865+
"rag": {
1866+
"inline": [
1867+
"Interesting during product himself attack Democrat",
1868+
"Decision I order particularly.",
1869+
"Couple reflect relate two agree local.",
1870+
],
1871+
"tool": ["Her society move lay.", "Network material like."],
1872+
},
1873+
"okp": {
1874+
"rhokp_url": "xyzzy",
1875+
"offline": False,
1876+
"chunk_filter_query": "Beautiful society within.",
1877+
},
1878+
},
16971879
]
16981880

16991881

0 commit comments

Comments
 (0)