Skip to content

Commit c85572d

Browse files
author
Pavel Papou
committed
Metaclass instruction is removed
1 parent 1e667fe commit c85572d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# Agent-python-pytest
2-
Plugin for Pytest Framework
3-
4-
## Description:
5-
Plugin for reporting items results of Pytest to the 'Reportal Portal'.
1+
# agent-python-pytest
2+
Pytest plugin for reporting test results of Pytest to the 'Reportal Portal'.
63

74
## Usage:
85
### Install the plugin

pytest_reportportal/service.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ class Singleton(type):
1515

1616
def __call__(cls, *args, **kwargs):
1717
if cls not in cls._instances:
18-
cls._instances[cls] = \
19-
super(Singleton, cls).__call__(*args, **kwargs)
18+
cls._instances[cls] = super(Singleton, cls).__call__(
19+
*args, **kwargs)
2020
return cls._instances[cls]
2121

2222

2323
class PyTestServiceClass(with_metaclass(Singleton, object)):
24-
__metaclass__ = Singleton
2524

2625
def __init__(self):
2726

0 commit comments

Comments
 (0)