From 17ecd65331558e58cbaf158f1fb3a294b607ae8a Mon Sep 17 00:00:00 2001 From: SrikanteswaraRao Talluri Date: Sun, 28 Jun 2015 15:52:31 +0530 Subject: [PATCH] CLOUDSTACK-8593: assign __testName if it is not getting set from test This closes #537 Signed-off-by: SrikanteswaraRao Talluri --- tools/marvin/marvin/marvinPlugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/marvin/marvin/marvinPlugin.py b/tools/marvin/marvin/marvinPlugin.py index dfba4c14965..bd55763cabd 100644 --- a/tools/marvin/marvin/marvinPlugin.py +++ b/tools/marvin/marvin/marvinPlugin.py @@ -168,6 +168,8 @@ class MarvinPlugin(Plugin): def beforeTest(self, test): self.__testModName = test.__str__() self.__testName = test.__str__().split()[0] + if not self.__testName: + self.__testName = "test" self.__testClient.identifier = '-'.\ join([self.__identifier, self.__testName]) if self.__tcRunLogger: