mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-12 17:09:16 +01:00
without expose_module, rename ram_session, comment load_datahandlers in __init__.py
This commit is contained in:
parent
71cf7c52f6
commit
0763ce22ae
7 changed files with 6 additions and 5 deletions
|
|
@ -8,6 +8,8 @@ import os.path
|
|||
import re
|
||||
import copy
|
||||
|
||||
import lodel.logger as logger
|
||||
|
||||
import warnings #For the moment no way to use the logger in this file (I guess)
|
||||
|
||||
#A try to avoid circular dependencies problems
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
# This module handles the file storage of an editorial model
|
||||
|
||||
import pickle
|
||||
from pickle import Pickler
|
||||
|
||||
##@brief Saves a model in a file
|
||||
# @param model EditorialModel : the model to save
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from lodel.leapi.datahandlers.base_classes import DataHandler
|
||||
DataHandler.load_base_handlers()
|
||||
# DataHandler.load_base_handlers()
|
||||
|
||||
## @defgroup lodel2_datahandlers Datahandlers
|
||||
# @ingroup lodel2_leapi
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from lodel.validator.validator Validator
|
||||
|
||||
__plugin_name__ = 'ram_sessions'
|
||||
__plugin_name__ = 'ram_session'
|
||||
__version__ = [0,0,1]
|
||||
__plugin_type__ = 'session_handler'
|
||||
__loader__ = 'main.py'
|
||||
|
|
@ -89,7 +89,7 @@ class PluginStartedTestCase(unittest.TestCase):
|
|||
@classmethod
|
||||
def setUpClass(cls):
|
||||
Plugin.clear()
|
||||
Plugin.start(['dummy', 'dummy_datasource', 'webui', 'ram_sessions'])
|
||||
Plugin.start(['dummy', 'dummy_datasource', 'webui', 'ram_session'])
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ sitename = noname
|
|||
runtest=True
|
||||
extensions = dummy
|
||||
datasource_connectors = dummy_datasource
|
||||
session_handler = ram_sessions
|
||||
session_handler = ram_session
|
||||
|
||||
[lodel2.logging.stderr]
|
||||
level = Error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue