From e14e08da41006dc9db216d9f7ac86c94cc4220fc Mon Sep 17 00:00:00 2001 From: Nathan Lee <113044550+nathandotleeathpe@users.noreply.github.com> Date: Thu, 2 Feb 2023 09:11:44 -0600 Subject: [PATCH] Using dws-test-driver for DWS state progression integration tests (#28) * Using dws-test-driver for DWS state progression integration tests Signed-off-by: Nathan Lee * Fixed integration test errors Signed-off-by: Nathan Lee * code review changes Signed-off-by: Nathan Lee * Updated dws-test-driver to main branch HEAD Signed-off-by: Nathan Lee * Code review Signed-off-by: Nathan Lee --------- Signed-off-by: Nathan Lee --- testsuite/integration/src/features/test_environment.feature | 2 +- testsuite/integration/src/tests/conftest.py | 2 +- .../integration/src/tests/dws_bb_plugin/test_dws_states.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuite/integration/src/features/test_environment.feature b/testsuite/integration/src/features/test_environment.feature index f35a9d0..71d8396 100644 --- a/testsuite/integration/src/features/test_environment.feature +++ b/testsuite/integration/src/features/test_environment.feature @@ -40,4 +40,4 @@ Feature: Integration test environment Scenario: Kubernetes and slurm are connected Given the kubernetes cluster kube-system UID When the kube-system UID is queried from slurmctld - Then the UIDs match and the cluster is the same + Then the UIDs match and the cluster is the same \ No newline at end of file diff --git a/testsuite/integration/src/tests/conftest.py b/testsuite/integration/src/tests/conftest.py index 58f8bd4..894ac3c 100644 --- a/testsuite/integration/src/tests/conftest.py +++ b/testsuite/integration/src/tests/conftest.py @@ -51,7 +51,7 @@ def pytest_bdd_apply_tag(tag, function): return None @given(parsers.parse('a job script:\n{script}'), target_fixture="script_path") -def write_job_script(script): +def _(script): """a job script: