MCPcopy Create free account
hub / github.com/cloudbase/garm / TestListAllPools

Method TestListAllPools

database/sql/pools_test.go:144–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142}
143
144func (s *PoolsTestSuite) TestListAllPools() {
145 pools, err := s.Store.ListAllPools(s.adminCtx)
146
147 s.Require().Nil(err)
148 garmTesting.EqualDBEntityID(s.T(), s.Fixtures.Pools, pools)
149}
150
151func (s *PoolsTestSuite) TestListAllPoolsDBFetchErr() {
152 s.Fixtures.SQLMock.

Callers

nothing calls this directly

Calls 1

ListAllPoolsMethod · 0.65

Tested by

no test coverage detected