Skip to content

Commit

Permalink
temporary debug dump on the mac
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-gray101 committed Feb 28, 2024
1 parent b39d661 commit 0cb9ffc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/http/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ var _ = Describe("API test", func() {
Context("Applying models", func() {
It("applies models from a gallery", func() {

// Temporary test debugging
modelDirEntries, err := os.ReadDir(modelDir)
Expect(err).ToNot(HaveOccurred())
fmt.Printf("\nmodelDirEntries: %+v\n", modelDirEntries)

models := getModels("http://127.0.0.1:9090/models/available")
Expect(len(models)).To(Equal(2), fmt.Sprint(models))
Expect(models[0].Installed).To(BeFalse(), fmt.Sprint(models))
Expand Down

0 comments on commit 0cb9ffc

Please sign in to comment.