databricks-cli/integration/cmd
Denis Bilenko 0b80784df7
Enable testifylint and fix the issues (#2065)
## Changes
- Enable new linter: testifylint.
- Apply fixes with --fix.
- Fix remaining issues (mostly with aider).

There were 2 cases we --fix did the wrong thing - this seems to a be a
bug in linter: https://github.com/Antonboom/testifylint/issues/210

Nonetheless, I kept that check enabled, it seems useful, just need to be
fixed manually after autofix.

## Tests
Existing tests
2025-01-02 12:03:41 +01:00
..
alerts Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
api Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
auth Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
clusters Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
fs Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
jobs Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
repos Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
secrets Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
storage_credentials Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
sync Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
version Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
workspace Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
main_test.go Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
unknown_command_test.go Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00