aboutsummaryrefslogtreecommitdiff
path: root/kolla/tests/common
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-19 09:50:55 +0000
committerGerrit Code Review <review@openstack.org>2016-01-19 09:50:56 +0000
commit5bce0212b2e95ea668c5616ffe08a5febbb1b3fc (patch)
tree53b5e7735b987c8e0cd20465278e830a70d4c2f9 /kolla/tests/common
parent5c4c8636ff8723879a0de8db278fadd9e83c70cd (diff)
parentd4490ea2bc62bbd3715f9804e1395671854675b2 (diff)
downloadkolla-5bce0212b2e95ea668c5616ffe08a5febbb1b3fc.tar.gz
kolla-5bce0212b2e95ea668c5616ffe08a5febbb1b3fc.zip
Merge "add unittest code base"
Diffstat (limited to 'kolla/tests/common')
-rw-r--r--kolla/tests/common/__init__.py0
-rw-r--r--kolla/tests/common/test_config.py20
2 files changed, 20 insertions, 0 deletions
diff --git a/kolla/tests/common/__init__.py b/kolla/tests/common/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/kolla/tests/common/__init__.py
diff --git a/kolla/tests/common/test_config.py b/kolla/tests/common/test_config.py
new file mode 100644
index 000000000..28a9c8d8d
--- /dev/null
+++ b/kolla/tests/common/test_config.py
@@ -0,0 +1,20 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from kolla.tests import base
+
+
+class ConfigTest(base.TestCase):
+ config_file = 'default.conf'
+
+ def test_debug_opt(self):
+ self.assertTrue(self.conf.debug)