Skip to content

Commit f918489

Browse files
committed
fix readme and updated email
1 parent 3c4bdd9 commit f918489

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
Library used only for implementors of custom listeners for ReportPortal
77

88

9-
## Allready implemented listeners:
9+
## Already implemented listeners:
1010

11-
- [Robot Framework](https://github.com/reportportal/agent-Python-RobotFramework)
1211
- [PyTest Framework](https://github.com/reportportal/agent-python-pytest)
12+
- [Robot Framework](https://github.com/reportportal/agent-Python-RobotFramework)
1313

1414

1515
## Installation
@@ -57,9 +57,9 @@ def my_error_handler(exc_info):
5757
This callback function will be called by async service client when error occurs.
5858
Return True if error is not critical and you want to continue work.
5959
:param exc_info: result of sys.exc_info() -> (type, value, traceback)
60-
:return:
60+
:return:
6161
"""
62-
print("Error occured: {}".format(exc_info[1]))
62+
print("Error occurred: {}".format(exc_info[1]))
6363
traceback.print_exception(*exc_info)
6464

6565

@@ -76,7 +76,7 @@ test = service.start_test_item(name="Test Case",
7676
description="First Test Case",
7777
tags=["Image", "Smoke"],
7878
start_time=timestamp(),
79-
item_type="TEST")
79+
item_type="STEP")
8080

8181
# Create text log message with INFO level.
8282
service.log(time=timestamp(),
@@ -89,7 +89,7 @@ service.log(time=timestamp(),
8989
level="WARN",
9090
attachment={
9191
"name": "free_memory.txt",
92-
"data": subprocess.check_output("ps".split()),
92+
"data": subprocess.check_output("free -h".split()),
9393
"mime": "text/plain"
9494
})
9595

@@ -117,7 +117,7 @@ service.finish_test_item(end_time=timestamp(), status="PASSED")
117117
service.finish_launch(end_time=timestamp())
118118

119119
# Due to async nature of the service we need to call terminate() method which
120-
# ensures all pending requests to server are proccessed.
120+
# ensures all pending requests to server are processed.
121121
# Failure to call terminate() may result in lost data.
122122
service.terminate()
123123
```

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
version='2.6.0',
77
description='Python client for Report Portal',
88
author='Artsiom Tkachou',
9-
author_email='artsiom_tkachou@epam.com',
9+
author_email='SupportEPMC-TSTReportPortal@epam.com',
1010
url='https://github.com/reportportal/client-Python',
1111
download_url='https://github.com/reportportal/client-Python/tarball/2.6.0',
12+
license="GNU General Public License v3",
1213
keywords=['testing', 'reporting', 'reportportal'],
1314
classifiers=[],
1415
install_requires=["requests>=2.4.2"],

0 commit comments

Comments
 (0)