aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcucutags.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cucutags.py b/cucutags.py
index 28bce1a..4e6ca75 100755
--- a/cucutags.py
+++ b/cucutags.py
@@ -41,8 +41,8 @@ class Target(object):
"""
Represents one line from the Python modules.
"""
- pattern = re.compile(r"^\s*@(step|when|given|then)\(u?'(.*)'\)")
- cleanRE = re.compile('^(step|when|given|then)\s*', re.IGNORECASE)
+ pattern = re.compile(r"^\s*@(step|when|given|then|and)\(u?'(.*)'\)")
+ cleanRE = re.compile('^(step|when|given|then|and)\s*', re.IGNORECASE)
result = 'targets'
def __init__(self, text, filename, lineno):