From 426540a5a19ef772ae477ee0a37d4d6f0351c556 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 10 Oct 2013 22:38:24 +0200 Subject: Forgot to parse step files for 'given' decorator. --- cucutags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cucutags.py b/cucutags.py index d95077b..4ac2641 100755 --- a/cucutags.py +++ b/cucutags.py @@ -31,7 +31,7 @@ logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s', import parse __docformat__ = 'reStructuredText' -__version__ = "0.5.0" +__version__ = "0.6.0" __author__ = u"Matěj Cepl " @@ -39,7 +39,7 @@ class Target(object): """ Represents one line from the Python modules. """ - pattern = re.compile(r"^\s*@(step|when|then)\(u'(.*)'\)") + pattern = re.compile(r"^\s*@(step|when|given|then)\(u'(.*)'\)") result = 'targets' def __init__(self, text, filename, lineno): -- cgit