]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1790] Update testcase descriptions
authorMukund Sivaraman <muks@isc.org>
Thu, 10 May 2012 03:48:04 +0000 (09:18 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 14 May 2012 17:10:52 +0000 (22:40 +0530)
src/bin/xfrin/tests/xfrin_test.py

index 45019d32ad1613bcd74023be3202c3d002c1ca01..d06c3d7d0e83707d17245d95f3ebb067b9254121 100644 (file)
@@ -2917,7 +2917,10 @@ class TestXfrinProcess(unittest.TestCase):
 
     def test_inmem_ok(self):
         """
-        Inmem configuration 1.
+        Inmem configuration where all the configuration is just right
+        for loadzone to be sent to b10-auth (origin is the name received
+        by xfrin, filetype is sqlite3, type is memory and class is the
+        one received by xfrin).
         """
         self._module_cc.config = [{'zones': [{'origin': 'example.org', 'filetype': 'sqlite3',
                                               'file': 'data/inmem-xfrin.sqlite3'}],
@@ -2930,7 +2933,8 @@ class TestXfrinProcess(unittest.TestCase):
 
     def test_inmem_not_memory(self):
         """
-        Inmem configuration 2.
+        Inmem configuration where the datasource type is not memory. In
+        this case, loadzone should not be sent to b10-auth.
         """
         self._module_cc.config = [{'zones': [{'origin': 'example.org', 'filetype': 'sqlite3',
                                               'file': 'data/inmem-xfrin.sqlite3'}],
@@ -2943,7 +2947,9 @@ class TestXfrinProcess(unittest.TestCase):
 
     def test_inmem_not_sqlite3(self):
         """
-        Inmem configuration 3.
+        Inmem configuration where the datasource backing file is not of
+        type sqlite3. In this case, loadzone should not be sent to
+        b10-auth.
         """
         self._module_cc.config = [{'zones': [{'origin': 'example.org', 'filetype': 'postgresql',
                                               'file': 'data/inmem-xfrin.sqlite3'}],
@@ -2956,7 +2962,9 @@ class TestXfrinProcess(unittest.TestCase):
 
     def test_inmem_not_of_same_class(self):
         """
-        Inmem configuration 4.
+        Inmem configuration where the datasource class does not match
+        the received class. In this case, loadzone should not be sent to
+        b10-auth.
         """
         self._module_cc.config = [{'zones': [{'origin': 'example.org', 'filetype': 'sqlite3',
                                               'file': 'data/inmem-xfrin.sqlite3'}],
@@ -2969,7 +2977,8 @@ class TestXfrinProcess(unittest.TestCase):
 
     def test_inmem_not_present(self):
         """
-        Inmem configuration 5.
+        Inmem configuration where the origin does not match the received
+        name. In this case, loadzone should not be sent to b10-auth.
         """
         self._module_cc.config = [{'zones': [{'origin': 'isc.org', 'filetype': 'sqlite3',
                                               'file': 'data/inmem-xfrin.sqlite3'}],