[test-API][PATCH] Fix the repeating display of testcase name issue when generating log.xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



modified:   src/log_generator.py
---
 src/log_generator.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/log_generator.py b/src/log_generator.py
index de18654..7685da7 100644
--- a/src/log_generator.py
+++ b/src/log_generator.py
@@ -70,7 +70,8 @@ class LogGenerator(object):
         valuedict = test_procedure[casename]
 
         test_casename = self.doc.createElement('action')
-        test_casename.setAttribute('name', casename)
+        casenamexml = casename[:casename.rfind(":")]
+        test_casename.setAttribute('name', casenamexml)
 
         for arg in valuedict.keys():
             test_arg = self.doc.createElement('arg')
-- 
1.7.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]