databricks-cli/cmd/root
Pieter Noordhuis 3cb74e72a8
Run environment related tests in a pristine environment (#769)
## Changes

If the caller running the test has one or more environment variables
that are used in the test already set, they can interfere and make tests
fail.

## Tests

Ran tests in `./cmd/root` with Databricks related environment variables
set.
2023-09-12 13:28:53 +00:00
..
auth.go Prompt once for a client profile (#727) 2023-09-11 15:32:24 +00:00
auth_test.go Run environment related tests in a pristine environment (#769) 2023-09-12 13:28:53 +00:00
bundle.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
bundle_test.go Run environment related tests in a pristine environment (#769) 2023-09-12 13:28:53 +00:00
io.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
logger.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
progress_logger.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
progress_logger_test.go Remove dependency on global state for the root command (#606) 2023-07-26 11:17:09 +00:00
root.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
user_agent.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
user_agent_command.go Move code for including command name in user agent (#203) 2023-02-15 10:33:35 +01:00
user_agent_command_test.go Move code for including command name in user agent (#203) 2023-02-15 10:33:35 +01:00
user_agent_upstream.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
user_agent_upstream_test.go Let caller set BRICKS_UPSTREAM for user agent (#196) 2023-02-03 17:05:58 +01:00