10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import logging
logging.basicConfig(level=logging.DEBUG)
import pluginconf
print(pluginconf.plugin_base)
import pluginconf.bind
def init(reset):
# pluginconf.plugin_base = []
import test.plugins
pluginconf.bind.base(test.plugins)
assert "test.plugins" in pluginconf.plugin_base
assert test.plugins.__path__ != []
def test_first():
|
|
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import logging
logging.basicConfig(level=logging.DEBUG)
import pluginconf
print(pluginconf.plugin_base)
import pluginconf.bind
def init():
# pluginconf.plugin_base = []
import test.plugins
pluginconf.bind.base(test.plugins)
assert "test.plugins" in pluginconf.plugin_base
assert test.plugins.__path__ != []
def test_first():
|