MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / SetupTest

Method SetupTest

storage/abs/reader_test.go:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (s *ReaderTestSuite) SetupTest() {
44 // Recreate ABS blob for each test
45 absBlob := s.absStorage().
46 Client().
47 ServiceClient().
48 NewContainerClient(s.TestContainer).
49 NewBlockBlobClient(s.TestObjectKey)
50 _, err := absBlob.UploadBuffer(s.T().Context(), s.TestData, nil)
51 s.Require().NoError(err)
52}
53
54func TestReader(t *testing.T) {
55 suite.Run(t, new(ReaderTestSuite))

Callers

nothing calls this directly

Calls 2

ClientMethod · 0.80
TMethod · 0.80

Tested by

no test coverage detected