summaryrefslogtreecommitdiff
path: root/src/leap/common/config/tests
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-08-29 18:07:15 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-08-29 18:07:23 -0300
commit0aeced28f7e8c87d59e9a057b6aea9bdcd37fc02 (patch)
treea9a17c301440c89e6ffdba40f2eb1d33bd99caa7 /src/leap/common/config/tests
parentf6b4491f972124271639af80f52f4b6dd6c056ba (diff)
Update baseconfig tests to use schema correctly.
Diffstat (limited to 'src/leap/common/config/tests')
-rw-r--r--src/leap/common/config/tests/test_baseconfig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/common/config/tests/test_baseconfig.py b/src/leap/common/config/tests/test_baseconfig.py
index 8a2915e..8bdf4d0 100644
--- a/src/leap/common/config/tests/test_baseconfig.py
+++ b/src/leap/common/config/tests/test_baseconfig.py
@@ -113,9 +113,12 @@ class TestConfig(BaseConfig):
def get_version(self):
return self._safe_get_value("version")
- def _get_spec(self):
+ def _get_schema(self):
return sample_spec
+ def _get_spec(self):
+ return self._get_schema()
+
def get_default_language(self):
return self._safe_get_value("default_language")