yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44696
[Bug 1534354] [NEW] ServerGroupsV213SampleJsonTest is not actually running tests against the v2.13 microversion
Public bug reported:
There are a few issues here:
https://github.com/openstack/nova/blob/master/nova/tests/functional/api_sample_tests/test_server_groups.py#L81
class ServerGroupsV213SampleJsonTest(api_sample_base.ApiSampleTestBaseV21):
extension_name = "os-server-groups"
request_api_version = '2.13'
scenarios = [('v2_13', {})]
1. It is not extending the ServerGroupsSampleJsonTest class so it's not
actually running any tests.
2. The request_api_version variable isn't used, and the scenarios
variable is not defined correctly, so it's only running against v2 API,
not the v2.13 API.
** Affects: nova
Importance: Undecided
Status: Confirmed
** Tags: api testing
** Changed in: nova
Status: New => Confirmed
** Tags added: api testing
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1534354
Title:
ServerGroupsV213SampleJsonTest is not actually running tests against
the v2.13 microversion
Status in OpenStack Compute (nova):
Confirmed
Bug description:
There are a few issues here:
https://github.com/openstack/nova/blob/master/nova/tests/functional/api_sample_tests/test_server_groups.py#L81
class ServerGroupsV213SampleJsonTest(api_sample_base.ApiSampleTestBaseV21):
extension_name = "os-server-groups"
request_api_version = '2.13'
scenarios = [('v2_13', {})]
1. It is not extending the ServerGroupsSampleJsonTest class so it's
not actually running any tests.
2. The request_api_version variable isn't used, and the scenarios
variable is not defined correctly, so it's only running against v2
API, not the v2.13 API.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1534354/+subscriptions
Follow ups