FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
allure-python/allure-python-commons/src/types.py at master · efratas/allure-python · GitHub
efratas
/
allure-python
Public
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
/
src
/
types.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
71 lines (54 loc) · 1.53 KB
Breadcrumbs
allure-python
/
allure-python-commons
/
src
/
types.py
Copy path
File metadata and controls
71 lines (54 loc) · 1.53 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from
enum
import
Enum
ALLURE_UNIQUE_LABELS
=
[
'severity'
,
'thread'
,
'host'
]
class
Severity
(
str
,
Enum
):
BLOCKER
=
'blocker'
CRITICAL
=
'critical'
NORMAL
=
'normal'
MINOR
=
'minor'
TRIVIAL
=
'trivial'
class
LinkType
:
LINK
=
'link'
ISSUE
=
'issue'
TEST_CASE
=
'tms'
class
LabelType
(
str
):
EPIC
=
'epic'
FEATURE
=
'feature'
STORY
=
'story'
PARENT_SUITE
=
'parentSuite'
SUITE
=
'suite'
SUB_SUITE
=
'subSuite'
SEVERITY
=
'severity'
THREAD
=
'thread'
HOST
=
'host'
TAG
=
'tag'
ID
=
'as_id'
FRAMEWORK
=
'framework'
LANGUAGE
=
'language'
MANUAL
=
'ALLURE_MANUAL'
class
AttachmentType
(
Enum
):
def
__init__
(
self
,
mime_type
,
extension
):
self
.
mime_type
=
mime_type
self
.
extension
=
extension
TEXT
=
(
"text/plain"
,
"txt"
)
CSV
=
(
"text/csv"
,
"csv"
)
TSV
=
(
"text/tab-separated-values"
,
"tsv"
)
URI_LIST
=
(
"text/uri-list"
,
"uri"
)
HTML
=
(
"text/html"
,
"html"
)
XML
=
(
"application/xml"
,
"xml"
)
JSON
=
(
"application/json"
,
"json"
)
YAML
=
(
"application/yaml"
,
"yaml"
)
PCAP
=
(
"application/vnd.tcpdump.pcap"
,
"pcap"
)
PNG
=
(
"image/png"
,
"png"
)
JPG
=
(
"image/jpg"
,
"jpg"
)
SVG
=
(
"image/svg-xml"
,
"svg"
)
GIF
=
(
"image/gif"
,
"gif"
)
BMP
=
(
"image/bmp"
,
"bmp"
)
TIFF
=
(
"image/tiff"
,
"tiff"
)
MP4
=
(
"video/mp4"
,
"mp4"
)
OGG
=
(
"video/ogg"
,
"ogg"
)
WEBM
=
(
"video/webm"
,
"webm"
)
PDF
=
(
"application/pdf"
,
"pdf"
)
class
ParameterMode
(
Enum
):
HIDDEN
=
'hidden'
MASKED
=
'masked'
DEFAULT
=
None
Back
|
FazBrowse Home
|
New Git URL