From 5c85eea31571f2ceeb21a0570e1dda958805e021 Mon Sep 17 00:00:00 2001 From: Spencer Taylor-Brown Date: Thu, 30 May 2024 08:25:57 +0000 Subject: [PATCH] consume: Update test name format for hiveview. --- src/pytest_plugins/pytest_hive/pytest_hive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytest_plugins/pytest_hive/pytest_hive.py b/src/pytest_plugins/pytest_hive/pytest_hive.py index 28537675d5..3ef885c39c 100644 --- a/src/pytest_plugins/pytest_hive/pytest_hive.py +++ b/src/pytest_plugins/pytest_hive/pytest_hive.py @@ -107,7 +107,7 @@ def hive_test(request, test_suite: HiveTestSuite): """ Propagate the pytest test case and its result to the hive server. """ - test_parameter_string = request.node.nodeid.split("[")[-1].rstrip("]") # test fixture name + test_parameter_string = request.node.nodeid # test fixture name test: HiveTest = test_suite.start_test( # TODO: pass test case documentation when available name=test_parameter_string,