This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathbehave.py
60 lines (52 loc) · 1.81 KB
/
behave.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# coding=utf-8
"""
Python Behave skeletons (https://pythonhosted.org/behave/)
"""
def given(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass
def when(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass
def then(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass
def step(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass
def Given(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass
def When(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass
def Then(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass
def Step(pattern):
"""Decorates a function, so that it will become a new step
definition.
:param pattern pattern to match, may be regular expression or something else depends on step matcher
"""
pass