Revision: 50598a5ee9af
Author: Janne Härkönen <[email protected]>
Date: Wed Feb 22 23:36:43 2012
Log: testdoc: normalize tags
http://code.google.com/p/robotframework/source/detail?r=50598a5ee9af
Modified:
/src/robot/testdoc.py
=======================================
--- /src/robot/testdoc.py Wed Feb 22 23:11:37 2012
+++ /src/robot/testdoc.py Wed Feb 22 23:36:43 2012
@@ -48,7 +48,7 @@
if 'robot' not in sys.modules:
import pythonpathsetter # running testdoc.py as script
-from robot import utils, version
+from robot import utils
from robot.running import TestSuite, Keyword
from robot.conf import RobotSettings
from robot.parsing import populators
@@ -136,7 +136,7 @@
'fullName': test.longname,
'id': test_id,
'doc': test.doc,
- 'tags': test.tags,
+ 'tags': utils.normalize_tags(test.tags),
'timeout': self._get_timeout(test.timeout),
'keywords': self._convert_keywords(test, test_id)
}
@@ -172,4 +172,3 @@
if __name__ == '__main__':
testdoc_cli(sys.argv[1:])
-