diff --git a/tests/tests/python-code-header-cleanser/pail/app.yaml b/tests/tests/python-code-header-cleanser/pail/app.yaml deleted file mode 100644 index 08fee054..00000000 --- a/tests/tests/python-code-header-cleanser/pail/app.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: lunchpail.io/v1alpha1 -kind: Application -metadata: - name: header_cleanser -spec: - image: docker.io/python:3.12 - command: python3 ./main.py - minSize: 4Gi - needs: - - name: python - version: latest - requirements: | -{{ .Files.Get "data/requirements.txt" | indent 8 }} - code: - - name: main.py - source: | -{{ .Files.Get "src/main.py" | indent 8 }} - - name: header_cleanser_transform.py - source: | -{{ .Files.Get "src/header_cleanser_transform.py" | indent 8 }} diff --git a/tests/tests/python-code-header-cleanser/pail/data/requirements.txt b/tests/tests/python-code-header-cleanser/pail/requirements.txt similarity index 100% rename from tests/tests/python-code-header-cleanser/pail/data/requirements.txt rename to tests/tests/python-code-header-cleanser/pail/requirements.txt diff --git a/tests/tests/python-code-header-cleanser/settings.sh b/tests/tests/python-code-header-cleanser/settings.sh index 990df80f..8268b7bd 100644 --- a/tests/tests/python-code-header-cleanser/settings.sh +++ b/tests/tests/python-code-header-cleanser/settings.sh @@ -3,4 +3,7 @@ api=workqueue expected=("input table has 10 rows" "output table has 10 rows") NUM_DESIRED_OUTPUTS=0 +# the default is --yaml. we don't want that +source_from=" " + up_args='<(gunzip -c "$TEST_PATH"/pail/test-data/input/test1.parquet.gz)'