You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pytest_testrail/conftest.py
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,8 @@ def pytest_addoption(parser):
54
54
'--tr-testrun-suite-include-all',
55
55
action='store_true',
56
56
default=None,
57
-
help='Include all test cases in specified test suite when creating test run (config file: include_all in TESTRUN section)')
57
+
help='Include all test cases in specified test suite when creating test run \
58
+
(config file: include_all in TESTRUN section)')
58
59
group.addoption(
59
60
'--tr-testrun-name',
60
61
action='store',
@@ -70,12 +71,14 @@ def pytest_addoption(parser):
70
71
action='store',
71
72
default=0,
72
73
required=False,
73
-
help='Identifier of testrun, that appears in TestRail. If provided, option "--tr-testrun-name" will be ignored')
74
+
help='Identifier of testrun, that appears in TestRail. If provided, \
75
+
option "--tr-testrun-name" will be ignored')
74
76
group.addoption(
75
77
'--tr-plan-id',
76
78
action='store',
77
79
required=False,
78
-
help='Identifier of testplan, that appears in TestRail (config file: plan_id in TESTRUN section). If provided, option "--tr-testrun-name" will be ignored')
80
+
help='Identifier of testplan, that appears in TestRail (config file: plan_id in TESTRUN section).\
81
+
If provided, option "--tr-testrun-name" will be ignored')
79
82
group.addoption(
80
83
'--tr-version',
81
84
action='store',
@@ -115,7 +118,8 @@ def pytest_addoption(parser):
115
118
action='store',
116
119
default=None,
117
120
required=False,
118
-
help='Custom comment, to be appended to default comment for test case (config file: custom_comment in TESTCASE section)'
121
+
help='Custom comment, to be appended to default comment for test case \
122
+
(config file: custom_comment in TESTCASE section)'
119
123
)
120
124
121
125
@@ -157,8 +161,8 @@ def pytest_configure(config):
157
161
classConfigManager(object):
158
162
def__init__(self, cfg_file_path, config):
159
163
'''
160
-
Handles retrieving configuration values. Config options set in flags are given preferance over options set in the
161
-
config file.
164
+
Handles retrieving configuration values.
165
+
Config options set in flags are given preferance over options set in the config file.
162
166
163
167
:param cfg_file_path: Path to the config file containing information about the TestRail server.
0 commit comments