databricks-cli/integration/bundle
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
..
bundles Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
testdata Add tests for default-python template on different Python versions (#2025) 2024-12-20 14:40:54 +00:00
artifacts_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
basic_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
bind_resource_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
clusters_test.go Remove superfluous helper (#2028) 2024-12-17 17:34:09 +00:00
dashboards_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deploy_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
deploy_then_remove_resources_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deploy_to_shared_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deployment_state_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
destroy_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
empty_bundle_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
environments_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
generate_job_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
generate_pipeline_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
helpers_test.go Refactor initTestTemplate/deployBundle/destroyBundle to not return errors (#2017) 2024-12-16 13:41:32 +01:00
init_default_python_test.go Move bulk of "golden tests" logic to libs/testdiff (#2054) 2024-12-30 15:26:21 +00:00
init_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
job_metadata_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
local_state_staleness_test.go 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
python_wheel_test.go Remove superfluous helper (#2028) 2024-12-17 17:34:09 +00:00
spark_jar_test.go Skip job runs during integration testing for PRs (#2024) 2024-12-17 17:16:58 +00:00
validate_test.go Remove calls to `testutil.GetEnvOrSkipTest(t, "CLOUD_ENV")` (#2014) 2024-12-13 16:09:51 +00:00