summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/helper/Stubs.py2
-rw-r--r--tests/manager/test_configManager.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/helper/Stubs.py b/tests/helper/Stubs.py
index f0e8d0614..4c7c178ed 100644
--- a/tests/helper/Stubs.py
+++ b/tests/helper/Stubs.py
@@ -18,7 +18,7 @@ from module.threads.BaseThread import BaseThread
from module.config.ConfigParser import ConfigParser
from module.network.RequestFactory import RequestFactory
from module.PluginManager import PluginManager
-from module.common.JsEngine import JsEngine
+from module.utils.JsEngine import JsEngine
from logging import log, DEBUG, INFO, WARN, ERROR
diff --git a/tests/manager/test_configManager.py b/tests/manager/test_configManager.py
index 8ab607a87..af473a0d2 100644
--- a/tests/manager/test_configManager.py
+++ b/tests/manager/test_configManager.py
@@ -117,6 +117,11 @@ class TestConfigManager(TestCase):
self.addConfig()
assert self.config.getSection("plugin")[0].name == "Name"
+ # TODO: more save tests are needed
+ def test_saveValues(self):
+ self.addConfig()
+ self.config.saveValues(adminUser, "plugin")
+
@raises(InvalidConfigSection)
def test_restricted_access(self):
self.config.get("general", "language", normalUser)