'Counterintuitively we should show disabled flavors to all users and
not just admins. The reason is that, when a user performs a server-show
request, we want to be able to display the pretty flavor name (\'512 MB
Instance\') and not just the flavor-id even if the flavor id has been
marked disabled.'

def test_show_should_include_disabled_flavor_for_user(self):

    self.context.is_admin = False
    flavor = self.controller.show(self.req, self.disabled_type['flavorid'])['flavor']
    self.assertEqual(flavor['name'], self.disabled_type['name'])
