databricks-cli/internal/bundle
Andrew Nester 4ce279e386
Added test for tasks with python wheel wrapper on (#897)
## Changes
Added test for tasks with python wheel wrapper on

## Tests
```
2023/10/20 16:42:07 [INFO] Listing secrets from ...
=== RUN   TestAccPythonWheelTaskDeployAndRunWithWrapper
    python_wheel_test.go:13: aws
    helpers.go:43: Configuration for template:  {"node_type_id":"i3.xlarge","python_wheel_wrapper":true,"spark_version":"12.2.x-scala2.12","unique_id":"224a58a5-7ecb-4e7a-9c89-c7f5ea57924e"}
 ...
Resource deployment completed!
Run URL: ...

2023-10-20 16:42:33 "[default] Test Wheel Job 224a58a5-7ecb-4e7a-9c89-c7f5ea57924e" RUNNING 
2023-10-20 16:47:27 "[default] Test Wheel Job 224a58a5-7ecb-4e7a-9c89-c7f5ea57924e" TERMINATED SUCCESS 
    helpers.go:169: [databricks stdout]: Hello from my func
    helpers.go:169: [databricks stdout]: Got arguments:
    helpers.go:169: [databricks stdout]: ['my_test_code', 'one', 'two']
...
--- PASS: TestAccPythonWheelTaskDeployAndRunWithWrapper (321.61s)
PASS
coverage: 93.5% of statements in ./...
ok      github.com/databricks/cli/internal/bundle       322.307s        coverage: 93.5% of statements in ./...
```
2023-10-20 15:03:29 +00:00
..
bundles Make a notebook wrapper for Python wheel tasks optional (#797) 2023-09-26 14:32:20 +00:00
artifacts_test.go Escape workspace path string in regexp in artifacts integration test (#886) 2023-10-19 12:06:46 +00:00
deploy_then_remove_resources_test.go Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
empty_bundle_test.go Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
helpers.go Added end-to-end test for deploying and running Python wheel task (#741) 2023-09-07 14:08:16 +00:00
python_wheel_test.go Added test for tasks with python wheel wrapper on (#897) 2023-10-20 15:03:29 +00:00