1import unittest
2from unit.control import TestControl
3
4
5class TestConfiguration(TestControl):
6 prerequisites = {'modules': ['python']}
6 prerequisites = {'modules': {'python': 'any'}}
7
8 def test_json_empty(self):
9 self.assertIn('error', self.conf(''), 'empty')
10
11 def test_json_leading_zero(self):
12 self.assertIn('error', self.conf('00'), 'leading zero')
13
14 def test_json_unicode(self):

--- 397 unchanged lines hidden ---