Skip to content

Commit 5b85562

Browse files
author
Yury Krasouski
authored
Merge pull request #56 from krasoffski/version
Updated to version 1.0.3.
2 parents 5309fc1 + 50cfd73 commit 5b85562

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Examples
7070
For logging of the test item flow to Report Portal, please, use the python
7171
logging handler provided by plugin like bellow:
7272
in conftest.py:
73+
7374
.. code-block:: python
7475
7576
@pytest.fixture(scope="function")
@@ -88,7 +89,9 @@ in conftest.py:
8889
# Add handler to the logger.
8990
logger.addHandler(rp_handler)
9091
return logger
92+
9193
in tests:
94+
9295
.. code-block:: python
9396
9497
# In this case only INFO messages will be sent to the Report Portal.

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55

66
def read_file(fname):
7-
return open(os.path.join(os.path.dirname(__file__), fname)).read()
7+
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
8+
return f.read()
89

910

10-
version = '1.0.1'
11-
tar_url = 'https://github.com/reportportal/agent-python-pytest/tarball/1.0.1'
11+
version = '1.0.3'
12+
tar_url = 'https://github.com/reportportal/agent-python-pytest/tarball/1.0.3'
1213

1314

1415
requirements = [
@@ -23,7 +24,7 @@ def read_file(fname):
2324
name='pytest-reportportal',
2425
version=version,
2526
description='Agent for Reporting results of tests to the Report Portal',
26-
long_description=read_file('README.rst') + '\n\n',
27+
long_description=read_file('README.rst'),
2728
author='Pavel Papou',
2829
author_email='[email protected]',
2930
url='https://github.com/reportportal/agent-python-pytest',

0 commit comments

Comments
 (0)