FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
allure-python/allure-python-commons/src/_core.py at 2.13.5 · allure-framework/allure-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
allure-framework
/
allure-python
Public
Notifications
You must be signed in to change notification settings
Fork
260
Star
814
Code
Issues
99
Pull requests
30
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
allure-python
/
allure-python-commons
/
src
/
_core.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (16 loc) · 716 Bytes
Breadcrumbs
allure-python
/
allure-python-commons
/
src
/
_core.py
Copy path
File metadata and controls
23 lines (16 loc) · 716 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from
pluggy
import
PluginManager
from
allure_commons
import
_hooks
class
MetaPluginManager
(
type
):
_plugin_manager
:
PluginManager
=
None
@
staticmethod
def
get_plugin_manager
():
if
not
MetaPluginManager
.
_plugin_manager
:
MetaPluginManager
.
_plugin_manager
=
PluginManager
(
'allure'
)
MetaPluginManager
.
_plugin_manager
.
add_hookspecs
(
_hooks
.
AllureUserHooks
)
MetaPluginManager
.
_plugin_manager
.
add_hookspecs
(
_hooks
.
AllureDeveloperHooks
)
return
MetaPluginManager
.
_plugin_manager
def
__getattr__
(
cls
,
attr
):
pm
=
MetaPluginManager
.
get_plugin_manager
()
return
getattr
(
pm
,
attr
)
class
plugin_manager
(
metaclass
=
MetaPluginManager
):
pass
Back
|
FazBrowse Home
|
New Git URL