Merge "Removing temporary working files."

This commit is contained in:
Jenkins 2015-09-16 04:02:59 +00:00 committed by Gerrit Code Review
commit c17d2fe718
3 changed files with 0 additions and 7019 deletions

View File

@ -1,17 +0,0 @@
tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestJSON.test_list_images_with_detail_limit_results[gate,id-ba2fa9a9-b672-47cc-b354-3b4c0600e2cb]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_changes_since_future_date[gate,id-74745ad8-b346-45b5-b9b8-509d7447fc1f,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_changes_since_invalid_date[gate,id-87d12517-e20a-4c9c-97b6-dd1628d6d6c9,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_limits[gate,id-12c80a9f-2dec-480e-882b-98ba15757659]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_limits_greater_than_actual_count[gate,id-d47c17fb-eebd-4287-8e95-f20a7e627b18,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_limits_pass_negative_value[gate,id-62610dd9-4713-4ee0-8beb-fd2c1aa7f950,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_limits_pass_string[gate,id-679bc053-5e70-4514-9800-3dfab1a380a6,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_non_existing_flavor[gate,id-5913660b-223b-44d4-a651-a0fbfd44ca75,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_non_existing_image[gate,id-ff01387d-c7ad-47b4-ae9e-64fa214638fe,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_non_existing_server_name[gate,id-e2c77c4a-000a-4af3-a0bd-629a328bde7c,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_detail_server_is_deleted[gate,id-93055106-2d34-46fe-af68-d9ddbf7ee570,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_status_non_existing[gate,id-fcdf192d-0f74-4d89-911f-1ec002b822c4,negative]
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_with_a_deleted_server[gate,id-24a26f1a-1ddc-4eea-b0d7-a90cc874ad8f,negative]
tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_lock_unlock_server[gate,id-80a8094c-211e-440a-ab88-9e59d556c7ee]
tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_stop_start_server[gate,id-af8eafd4-38a7-4a4b-bdbc-75145a580560]
tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_stop_non_existent_server[gate,id-a31460a9-49e1-42aa-82ee-06e0bb7c2d03,negative]
tempest.api.image.v2.test_images.ListImagesTest.test_index_no_params[gate,id-1e341d7a-90a9-494c-b143-2cdf2aeb6aee]

File diff suppressed because it is too large Load Diff

View File

@ -1,60 +0,0 @@
import json
defcore = json.loads(open('2015.next.json', 'r').read())
new_caps = json.loads(open('newcaps.json', 'r').read())
capabilities = {}
old_capabilities = defcore["capabilities"]
for old_capability in old_capabilities:
old_capability = old_capabilities[old_capability]
achievements = old_capability["achievements"]
admin = old_capability["admin"]
try:
required_since = old_capability["required-since"]
except:
required_since = ""
description = old_capability["description"]
name = old_capability["name"]
try:
project = old_capability["project"]
except:
project = "TODO"
tests = old_capability["tests"]
for test in tests:
try:
flag = old_capability["tests"][test]["flag"]
except:
flag = None
new_capability_name = new_caps[test]["capability"]
try:
capability = capabilities[new_capability_name]
except:
capability = {}
capability["achievements"] = set()
capability["admin"] = set()
capability["required-since"] = set()
capability["description"] = set()
capability["project"] = set()
capability["tests"] = {}
for achievement in achievements:
capability["achievements"].add(achievement)
capability["admin"].add(str(admin))
capability["required-since"].add(required_since)
capability["description"].add(description)
capability["project"].add(project)
capability["tests"][test] = tests[test]
capabilities[new_capability_name] = capability
for capability in capabilities:
cap = capabilities[capability]
cap["achievements"] = list(cap["achievements"])
cap["admin"] = ", ".join(cap["admin"])
cap["required-since"] = ", ".join(cap["required-since"])
cap["description"] = ", ".join(cap["description"])
cap["project"] = ", ".join(cap["project"])
print json.dumps(capabilities, sort_keys=True, indent=2,
separators=(',', ': '))