Skip to content

Commit f75b0ae

Browse files
author
alexandr
committed
RPPT-001 | Fix quotes
1 parent f841fe5 commit f75b0ae

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

pytest_reportportal/plugin.py

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -48,56 +48,56 @@ def pytest_unconfigure(config):
4848
reporter = config._reporter
4949
del config._reporter
5050
config.pluginmanager.unregister(reporter)
51-
logging.debug("RP is unconfigured")
51+
logging.debug('RP is unconfigured')
5252

5353

5454
def pytest_addoption(parser):
55-
group = parser.getgroup("reporting")
55+
group = parser.getgroup('reporting')
5656
group.addoption(
5757
'--rp-launch',
58-
action="store",
59-
dest="rp_launch",
60-
help="Launch name (overrides rp_launch config option)")
58+
action='store',
59+
dest='rp_launch',
60+
help='Launch name (overrides rp_launch config option)')
6161

6262
parser.addini(
63-
"rp_uuid",
64-
help="UUID")
63+
'rp_uuid',
64+
help='UUID')
6565

6666
parser.addini(
67-
"rp_endpoint",
68-
help="Server endpoint")
67+
'rp_endpoint',
68+
help='Server endpoint')
6969

7070
parser.addini(
71-
"rp_project",
72-
help="Project name")
71+
'rp_project',
72+
help='Project name')
7373

7474
parser.addini(
75-
"rp_launch",
76-
default="Pytest Launch",
77-
help="Launch name")
75+
'rp_launch',
76+
default='Pytest Launch',
77+
help='Launch name')
7878

7979
parser.addini(
80-
"rp_launch_tags",
81-
type="args",
82-
help="Launch tags, i.e Performance Regression")
80+
'rp_launch_tags',
81+
type='args',
82+
help='Launch tags, i.e Performance Regression')
8383

8484
parser.addini(
85-
"rp_launch_description",
86-
default="",
87-
help="Launch description")
85+
'rp_launch_description',
86+
default='',
87+
help='Launch description')
8888

8989
parser.addini(
90-
"rp_log_batch_size",
91-
default="20",
92-
help="Size of batch log requests in async mode")
90+
'rp_log_batch_size',
91+
default='20',
92+
help='Size of batch log requests in async mode')
9393

9494
parser.addini(
95-
"rp_ignore_errors",
95+
'rp_ignore_errors',
9696
default=False,
97-
type="bool",
98-
help="Ignore Report Portal errors (exit otherwise)")
97+
type='bool',
98+
help='Ignore Report Portal errors (exit otherwise)')
9999

100100
parser.addini(
101-
"rp_ignore_tags",
102-
type="args",
103-
help="Ignore specified pytest markers, i.e parametrize")
101+
'rp_ignore_tags',
102+
type='args',
103+
help='Ignore specified pytest markers, i.e parametrize')

setup.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,41 @@ def read_file(fname):
77
return open(os.path.join(os.path.dirname(__file__), fname)).read()
88

99

10-
version = "1.1.0"
11-
tar_url = "https://github.com/reportportal/agent-python-pytest/tarball/1.0.0"
10+
version = '1.1.0'
11+
tar_url = 'https://github.com/reportportal/agent-python-pytest/tarball/1.0.0'
1212

1313

1414
requirements = [
15-
"reportportal-client>=3.0.0",
16-
"pytest>=3.0.7",
17-
"six>=1.10.0",
15+
'reportportal-client>=3.0.0',
16+
'pytest>=3.0.7',
17+
'six>=1.10.0',
1818
]
1919

2020

2121
setup(
22-
name="pytest-reportportal",
22+
name='pytest-reportportal',
2323
version=version,
24-
description="Agent for Reporting results of tests to the Report Portal",
25-
long_description=read_file("README.rst") + "\n\n",
26-
author="Pavel Papou",
27-
author_email="[email protected]",
28-
url="https://github.com/reportportal/agent-python-pytest",
24+
description='Agent for Reporting results of tests to the Report Portal',
25+
long_description=read_file('README.rst') + '\n\n',
26+
author='Pavel Papou',
27+
author_email='[email protected]',
28+
url='https://github.com/reportportal/agent-python-pytest',
2929
download_url=tar_url,
30-
packages=["pytest_reportportal"],
30+
packages=['pytest_reportportal'],
3131
install_requires=requirements,
32-
license="GNU General Public License v3",
33-
keywords=["testing", "reporting", "reportportal", "pytest"],
32+
license='GNU General Public License v3',
33+
keywords=['testing', 'reporting', 'reportportal', 'pytest'],
3434
classifiers=[
35-
"Framework :: Pytest",
36-
"Programming Language :: Python :: 2.7",
37-
"Programming Language :: Python :: 3.3",
38-
"Programming Language :: Python :: 3.4",
39-
"Programming Language :: Python :: 3.5",
40-
"Programming Language :: Python :: 3.6"
35+
'Framework :: Pytest',
36+
'Programming Language :: Python :: 2.7',
37+
'Programming Language :: Python :: 3.3',
38+
'Programming Language :: Python :: 3.4',
39+
'Programming Language :: Python :: 3.5',
40+
'Programming Language :: Python :: 3.6'
4141
],
4242
entry_points={
43-
"pytest11": [
44-
"pytest_reportportal = pytest_reportportal.plugin",
43+
'pytest11': [
44+
'pytest_reportportal = pytest_reportportal.plugin',
4545
]
4646
},
4747
)

0 commit comments

Comments
 (0)