'Tests proper exception is raised if a bad status is set'

def test_image_create_with_bad_status(self):

    fixture = self.get_fixture(status='bad    status', location='file:///tmp/glance-tests/2')
    self.assertRaises(exception.Invalid, self.client.image_create, values=fixture)
