Skip to content

Commit

Permalink
test:set allow and ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
qinguoyi committed Oct 23, 2024
1 parent 04eaa65 commit 7a3d9eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/webhook/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ var _ = ginkgo.Describe("model default and validation", func() {
},
failed: true,
}),
ginkgo.Entry("set filename, allowPatterns and ignorePatterns when modelHub is Huggingface", &testValidatingCase{
ginkgo.Entry("set allowPatterns and ignorePatterns when modelHub is Huggingface", &testValidatingCase{
model: func() *coreapi.OpenModel {
return wrapper.MakeModel("llama3-8b").ModelSourceWithModelID("Qwen/Qwen2-0.5B-Instruct-GGUF", "qwen2-0_5b-instruct-q5_k_m.gguf", "", []string{"*"}, []string{"*"}).FamilyName("llama3").Obj()
return wrapper.MakeModel("llama3-8b").ModelSourceWithModelID("Qwen/Qwen2-0.5B-Instruct-GGUF", "", "", []string{"*"}, []string{"*.gguf"}).FamilyName("llama3").Obj()
},
failed: true,
failed: false,
}),
ginkgo.Entry("set filename when modelHub is ModelScope", &testValidatingCase{
model: func() *coreapi.OpenModel {
Expand Down

0 comments on commit 7a3d9eb

Please sign in to comment.