Fix integration test with invalid configuration (#1182)

## Changes

The indentation mistake on the `path` field under `notebook` meant the
pipeline had a single entry with a `nil` notebook field. This was
allowed but incorrect.

While working on the `dyn.Value` approach, this yielded a non-nil but
zeroed `notebook` field and a failure to translate an empty path.

## Tests

Correcting the indentation made the test fail because the file is not a
notebook. I changed it to a `file` reference and the test now passes.
This commit is contained in:
Pieter Noordhuis 2024-02-07 11:53:50 +01:00 committed by GitHub
parent de363faa53
commit b64e11304c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,5 @@ resources:
bar:
name: test-bundle-pipeline-{{.unique_id}}
libraries:
- notebook:
- file:
path: "./foo.py"