mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-28 09:08:54 -04:00
test(addons): expect Studio and Talk in the official index
The official index now lists six add-ons. Update the test that decodes it so it accepts Studio and Talk. Assisted-by: Claude Code:claude-sonnet-5-5 go Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 file changed
+2
-2
@@ -66,7 +66,7 @@ var _ = Describe("official library default", func() {
|
||||
})
|
||||
|
||||
var _ = Describe("official library index", func() {
|
||||
It("lists the four first-party add-ons in the library format", func() {
|
||||
It("lists the six first-party add-ons in the library format", func() {
|
||||
data, e := os.ReadFile("../../../../gallery/addons/index.yaml")
|
||||
Expect(e).NotTo(HaveOccurred())
|
||||
releases, e := DecodeIndex(data)
|
||||
@@ -78,6 +78,6 @@ var _ = Describe("official library index", func() {
|
||||
Expect(versionPattern.MatchString(r.Version)).To(BeTrue(), r.AddonID)
|
||||
Expect(r.Artifact).To(HavePrefix("oci://"), r.AddonID)
|
||||
}
|
||||
Expect(ids).To(ConsistOf("fine-tuning", "quantization", "voice", "face"))
|
||||
Expect(ids).To(ConsistOf("fine-tuning", "quantization", "voice", "face", "studio", "talk"))
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user