Skip to content

Commit

Permalink
Merge pull request #73 from iivanou/syntax_error
Browse files Browse the repository at this point in the history
Fix syntax issue for Python 2.7
  • Loading branch information
iivanou committed Mar 6, 2020
2 parents 4d8cab7 + 302eac0 commit 620f9c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 1 addition & 5 deletions reportportal_client/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def __init__(self,
endpoint,
project,
token,
*args,
is_skipped_an_issue=True,
verify_ssl=True,
retries=None,
Expand Down Expand Up @@ -157,7 +156,6 @@ def terminate(self, *args, **kwargs):
def start_launch(self,
name,
start_time,
*agrs,
description=None,
attributes=None,
mode=None,
Expand All @@ -177,7 +175,7 @@ def start_launch(self,
logger.debug("start_launch - ID: %s", self.launch_id)
return self.launch_id

def finish_launch(self, end_time, *agrs, status=None, **kwargs):
def finish_launch(self, end_time, status=None, **kwargs):
"""
status can be (PASSED, FAILED, STOPPED, SKIPPED, RESETED, CANCELLED)
"""
Expand All @@ -194,7 +192,6 @@ def start_test_item(self,
name,
start_time,
item_type,
*args,
description=None,
attributes=None,
parameters=None,
Expand Down Expand Up @@ -243,7 +240,6 @@ def finish_test_item(self,
item_id,
end_time,
status,
*args,
issue=None,
attributes=None,
**kwargs):
Expand Down
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

__version__ = '5.0.0'
__version__ = '5.0.1'

setup(
name='reportportal-client',
Expand All @@ -13,6 +13,11 @@
'tarball/%s' % __version__),
license='Apache 2.0.',
keywords=['testing', 'reporting', 'reportportal'],
classifiers=[],
classifiers=[
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
install_requires=['requests>=2.4.2', 'six'],
)

0 comments on commit 620f9c5

Please sign in to comment.