← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1394995] [NEW] Test allow creation of service without type

 

Public bug reported:

Test in  test_catalog and test_v3_catalog, allow service to be created
without a type.

https://github.com/openstack/keystone/blob/master/keystone/tests/test_catalog.py#L134

        service = {'id': self.service_id, 'name': uuid.uuid4().hex}
        self.catalog_api.create_service(self.service_id, service)

This  mean the api service is not validating the type is required OR we
are not testing that service validates it.

** Affects: keystone
     Importance: Undecided
     Assignee: Lin Hua Cheng (lin-hua-cheng)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Lin Hua Cheng (lin-hua-cheng)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1394995

Title:
  Test allow creation of service without type

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Test in  test_catalog and test_v3_catalog, allow service to be created
  without a type.

  https://github.com/openstack/keystone/blob/master/keystone/tests/test_catalog.py#L134

          service = {'id': self.service_id, 'name': uuid.uuid4().hex}
          self.catalog_api.create_service(self.service_id, service)

  This  mean the api service is not validating the type is required OR
  we are not testing that service validates it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1394995/+subscriptions


Follow ups

References