From: Mukund Sivaraman Date: Thu, 10 May 2012 03:48:04 +0000 (+0530) Subject: [1790] Update testcase descriptions X-Git-Tag: trac2351_base~226^2~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffdc8bef2778bd4aa1c69120cd759e4a9787b34c;p=thirdparty%2Fkea.git [1790] Update testcase descriptions --- diff --git a/src/bin/xfrin/tests/xfrin_test.py b/src/bin/xfrin/tests/xfrin_test.py index 45019d32ad..d06c3d7d0e 100644 --- a/src/bin/xfrin/tests/xfrin_test.py +++ b/src/bin/xfrin/tests/xfrin_test.py @@ -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'}],