Update baseconfig tests to use schema correctly.
authorIvan Alejandro <ivanalejandro0@gmail.com>
Thu, 29 Aug 2013 21:07:15 +0000 (18:07 -0300)
committerIvan Alejandro <ivanalejandro0@gmail.com>
Thu, 29 Aug 2013 21:07:23 +0000 (18:07 -0300)
src/leap/common/config/tests/test_baseconfig.py

index 8a2915e..8bdf4d0 100644 (file)
@@ -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")