Revision: 2065
Author: jprantan
Date: Tue Jul 28 00:37:41 2009
Log: Now it is possible to filter the suite without giving the prefix.
Applied the patch in issue 311 comment 1.
http://code.google.com/p/robotframework/source/detail?r=2065
Modified:
/trunk/src/robot/parsing/model.py
=======================================
--- /trunk/src/robot/parsing/model.py Sun Apr 19 13:26:54 2009
+++ /trunk/src/robot/parsing/model.py Tue Jul 28 00:37:41 2009
@@ -171,6 +171,7 @@
return True
# Match only to the last part of name given like '--suite
parent.child'
incl_suites = [ incl.split('.')[-1] for incl in incl_suites ]
+ name = name.split('__', 1)[-1] # Strip possible prefix
return utils.matches_any(name, incl_suites, ignore=['_'])
def _is_suite_init_file(self, name, path):