FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
allure-python/allure-python-commons-test/src/label.py at master · hyperscience/allure-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
hyperscience
/
allure-python
Public archive
forked from
allure-framework/allure-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
allure-python
/
allure-python-commons-test
/
src
/
label.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
48 lines (28 loc) · 961 Bytes
Breadcrumbs
allure-python
/
allure-python-commons-test
/
src
/
label.py
Copy path
File metadata and controls
48 lines (28 loc) · 961 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
from
hamcrest
import
all_of
from
hamcrest
import
has_entry
,
has_item
def
has_label
(
name
,
value
):
return
has_entry
(
'labels'
,
has_item
(
all_of
(
has_entry
(
'name'
,
name
),
has_entry
(
'value'
,
value
)
)
))
def
has_severity
(
level
):
return
has_label
(
'severity'
,
level
)
def
has_epic
(
feature
):
return
has_label
(
'epic'
,
feature
)
def
has_feature
(
feature
):
return
has_label
(
'feature'
,
feature
)
def
has_story
(
story
):
return
has_label
(
'story'
,
story
)
def
has_tag
(
tag
):
return
has_label
(
'tag'
,
tag
)
def
has_package
(
package
):
return
has_label
(
'package'
,
package
)
def
has_suite
(
suite
):
return
has_label
(
'suite'
,
suite
)
def
has_parent_suite
(
parent_suite
):
return
has_label
(
'parentSuite'
,
parent_suite
)
def
has_sub_suite
(
sub_suite
):
return
has_label
(
'subSuite'
,
sub_suite
)
Back
|
FazBrowse Home
|
New Git URL