databricks-cli/libs/testdiff
shreyas-goenka 57b8d336e0
Add ability to record headers in acceptance tests (#2296)
## Changes
HTTP headers like the User-Agent are an important part of our internal
ETL pipelines. This PR adds the ability to validate the headers used in
an HTTP request as part of our acceptance tests.

## Tests
Modifying existing test.
2025-02-05 09:32:15 +00:00
..
context.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
context_test.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
golden.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
replacement.go Add ability to record headers in acceptance tests (#2296) 2025-02-05 09:32:15 +00:00
replacement_test.go Switch to using `[` from `<` in text replacements (#2224) 2025-01-28 10:54:23 +00:00
testdiff.go Fix incorrect TestingT.Errorf usage and enable linting for this (#2182) 2025-01-20 08:07:42 +00:00
testdiff_test.go Add tests for default-python template on different Python versions (#2025) 2024-12-20 14:40:54 +00:00