(t *testing.T, tenant string, r backend.RawReader)
| 144 | } |
| 145 | |
| 146 | func tenantExists(t *testing.T, tenant string, r backend.RawReader) { |
| 147 | tenants, err := r.List(context.Background(), backend.KeyPath{}) |
| 148 | require.NoError(t, err) |
| 149 | require.Len(t, tenants, 1) |
| 150 | require.Equal(t, tenant, tenants[0]) |
| 151 | } |
| 152 | |
| 153 | func blockExists(t *testing.T, blockID backend.UUID, tenant string, r backend.RawReader) { |
| 154 | blocks, err := r.List(context.Background(), backend.KeyPath{tenant}) |
no test coverage detected