From ec73ec4b73b31cbcdefb2fad4359209650c59303 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 15 Nov 2024 15:46:36 +1000 Subject: [PATCH] fixup --- .tekton/integration-test.yaml | 6 +++--- e2e-tests/test_nessus.py | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.tekton/integration-test.yaml b/.tekton/integration-test.yaml index da51e1c..27fdf75 100644 --- a/.tekton/integration-test.yaml +++ b/.tekton/integration-test.yaml @@ -148,13 +148,13 @@ spec: echo "$KUBECONFIG_VALUE" > "$KUBECONFIG" oc whoami - yum install -y python3.12 + yum install -y python3.12 git python3.12 -m ensurepip pip3 install -r requirements.txt -r requirements-dev.txt pytest -s e2e-tests/test_integration.py --json-report --json-report-summary --json-report-file $(results.TEST_RESULTS.path) cat $(results.TEST_RESULTS.path) - - name: run-e2e-tests + - name: run-e2e-tests-nessus runAfter: - provision-eaas-space-nessus taskSpec: @@ -202,7 +202,7 @@ spec: echo "$KUBECONFIG_VALUE" > "$KUBECONFIG" oc whoami - yum install -y python3.12 + yum install -y python3.12 git python3.12 -m ensurepip pip3 install -r requirements.txt -r requirements-dev.txt pytest -s e2e-tests/test_nessus.py --json-report --json-report-summary --json-report-file $(results.TEST_RESULTS.path) diff --git a/e2e-tests/test_nessus.py b/e2e-tests/test_nessus.py index 288ca51..f0f623e 100644 --- a/e2e-tests/test_nessus.py +++ b/e2e-tests/test_nessus.py @@ -1,6 +1,4 @@ -import json import os -import re from conftest import tee_log from conftest import TestBase