"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/tests/unit/test_config.py" between
keystone-18.0.0.tar.gz and keystone-19.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Wallaby" series (latest release).

test_config.py  (keystone-18.0.0):test_config.py  (keystone-19.0.0)
skipping to change at line 40 skipping to change at line 40
args = ['--namespace', 'keystone', '--output-file', args = ['--namespace', 'keystone', '--output-file',
unit.dirs.etc(sample_file)] unit.dirs.etc(sample_file)]
generator.main(args=args) generator.main(args=args)
config_files.insert(0, unit.dirs.etc(sample_file)) config_files.insert(0, unit.dirs.etc(sample_file))
self.addCleanup(os.remove, unit.dirs.etc(sample_file)) self.addCleanup(os.remove, unit.dirs.etc(sample_file))
return config_files return config_files
def test_config_default(self): def test_config_default(self):
self.assertIsNone(CONF.auth.password) self.assertIsNone(CONF.auth.password)
self.assertIsNone(CONF.auth.token) self.assertIsNone(CONF.auth.token)
# Check config.set_config_defaults() has set [profiler]enabled.
def test_profiler_config_default(self):
"""Check config.set_config_defaults() has set [profiler]enabled."""
self.assertEqual(False, CONF.profiler.enabled) self.assertEqual(False, CONF.profiler.enabled)
class DeprecatedTestCase(unit.TestCase): class DeprecatedTestCase(unit.TestCase):
"""Test using the original (deprecated) name for renamed options.""" """Test using the original (deprecated) name for renamed options."""
def config_files(self): def config_files(self):
config_files = super(DeprecatedTestCase, self).config_files() config_files = super(DeprecatedTestCase, self).config_files()
config_files.append(unit.dirs.tests_conf('deprecated.conf')) config_files.append(unit.dirs.tests_conf('deprecated.conf'))
return config_files return config_files
 End of changes. 1 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)