Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksanford committed Dec 5, 2024
1 parent 504b8c8 commit 602c8aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/camera/collectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"time"

"github.com/benbjohnson/clock"
v1 "go.viam.com/api/app/data/v1"
datasyncpb "go.viam.com/api/app/datasync/v1"
"go.viam.com/test"
"go.viam.com/utils/artifact"
Expand Down Expand Up @@ -123,13 +124,15 @@ func TestCollectors(t *testing.T) {
expected: []*datasyncpb.SensorData{
{
Metadata: &datasyncpb.SensorMetadata{
MimeType: datasyncpb.MimeType_MIME_TYPE_IMAGE_JPEG,
MimeType: datasyncpb.MimeType_MIME_TYPE_IMAGE_JPEG,
Annotations: &v1.Annotations{Classifications: []*v1.Classification{{Label: "left"}}},
},
Data: &datasyncpb.SensorData_Binary{Binary: viamLogoJpeg},
},
{
Metadata: &datasyncpb.SensorMetadata{
MimeType: datasyncpb.MimeType_MIME_TYPE_IMAGE_JPEG,
MimeType: datasyncpb.MimeType_MIME_TYPE_IMAGE_JPEG,
Annotations: &v1.Annotations{Classifications: []*v1.Classification{{Label: "right"}}},
},
Data: &datasyncpb.SensorData_Binary{Binary: viamLogoJpeg},
},
Expand Down

0 comments on commit 602c8aa

Please sign in to comment.