Remove the last of the gflags shim layer
Make FLAGS a ConfigOpts instance and fix up all the places where we expected FlagValues behaviour. Change-Id: I8f96f42e0d8d30ba6b362d29861e717cf0fa9e89
This commit is contained in:
		@@ -173,7 +173,7 @@ class InstanceTypeTestCase(test.TestCase):
 | 
			
		||||
 | 
			
		||||
    def test_will_not_get_bad_default_instance_type(self):
 | 
			
		||||
        """ensures error raised on bad default instance type"""
 | 
			
		||||
        FLAGS.default_instance_type = 'unknown_flavor'
 | 
			
		||||
        self.flags(default_instance_type='unknown_flavor')
 | 
			
		||||
        self.assertRaises(exception.ApiError,
 | 
			
		||||
                          instance_types.get_default_instance_type)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user