mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
rework tests
This commit is contained in:
parent
1350336515
commit
f8d1e03450
1 changed files with 14 additions and 6 deletions
|
|
@ -123,9 +123,17 @@ tests:
|
|||
name: my-litellm-config
|
||||
key: custom.yaml
|
||||
asserts:
|
||||
- equal:
|
||||
path: spec.template.spec.volumes[?(@.name=="litellm-config")][0].configMap.name
|
||||
value: my-litellm-config
|
||||
- equal:
|
||||
path: spec.template.spec.volumes[?(@.name=="litellm-config")][0].configMap.items[0].key
|
||||
value: custom.yaml
|
||||
- contains:
|
||||
path: spec.template.spec.volumes
|
||||
content:
|
||||
name: litellm-config
|
||||
configMap:
|
||||
name: my-litellm-config
|
||||
items:
|
||||
- key: custom.yaml
|
||||
path: config.yaml
|
||||
- contains:
|
||||
path: spec.template.spec.containers[0].volumeMounts
|
||||
content:
|
||||
name: litellm-config
|
||||
mountPath: /etc/litellm/
|
||||
Loading…
Add table
Reference in a new issue