databricks-cli/internal/acc
Pieter Noordhuis 61b0c59137
Move test helpers from internal to `acc` and `testutil` (#2008)
## Changes

This change moves fixture helpers to `internal/acc/fixtures.go`. These
helpers create an ephemeral path or resource for the duration of a test.
Call sites are updated to use `acc.WorkspaceTest()` to construct a
workspace-focused test wrapper as needed.

This change also moves the `GetNodeTypeID()` function to `testutil`.

## Tests

n/a
2024-12-12 21:28:04 +00:00
..
debug.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
fixtures.go Move test helpers from internal to `acc` and `testutil` (#2008) 2024-12-12 21:28:04 +00:00
workspace.go Move test helpers from internal to `acc` and `testutil` (#2008) 2024-12-12 21:28:04 +00:00