summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_configuration.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index d3bedb1f..7e966b14 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -6,6 +6,9 @@ class TestUnitConfiguration(unit.TestUnitControl):
def setUpClass():
unit.TestUnit().check_modules('python')
+ def test_json_empty(self):
+ self.assertIn('error', self.conf(''), 'empty')
+
def test_json_leading_zero(self):
self.assertIn('error', self.conf('00'), 'leading zero')