A | B | C | D | E | F | G | H | I | J | K | L | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | No. | Team | Tester | Tech spec or coding policy | Class | Method or API | Test Class | Test Method | Depend (Pre) | Depend (Post) | Assertions | Notes |
2 | 1 | NTT | zhou | Normal checking | nova.schduler.api | get_host_list | nova.tests.schduler.api.ApiTestCase | test_get_host_list | - | - | assertEqual: self.mock_call_called = True | |
3 | 2 | NTT | zhou | Parameter checking | nova.schduler.api | get_host_list | nova.tests.schduler.api.ApiTestCase | test_get_host_list_parameter | - | - | assertEqual: self.mock_call_called_count = 3 | |
4 | 3 | NTT | zhou | Normal checking | nova.schduler.api | get_zone_list | nova.tests.schduler.api.ApiTestCase | test_get_zone_list | - | - | assertEqual: ref[0]['api_url'] = "http://localhost:8080/" assertEqual: len(ref) = 2 | |
5 | 3 | NTT | zhou | Configration checking | nova.schduler.api | get_zone_list | nova.tests.schduler.api.ApiTestCase | test_get_zone_list_configration | - | - | assertEqual: topic = "test_topic" | |
6 | 4 | NTT | zhou | Normal checking | nova.schduler.api | zone_get | nova.tests.schduler.api.ApiTestCase | test_zone_get | - | - | assertEqual: ref["id"] = 2 | |
7 | 5 | NTT | zhou | Normal checking | nova.schduler.api | zone_delete | nova.tests.schduler.api.ApiTestCase | test_zone_delete | - | - | assertRaises: exception.ZoneNotFound | |
8 | 6 | NTT | zhou | Normal checking | nova.schduler.api | zone_create | nova.tests.schduler.api.ApiTestCase | test_zone_create | - | - | assertEqual: ref["username"] = "u3" | |
9 | 7 | NTT | zhou | Normal checking | nova.schduler.api | zone_update | nova.tests.schduler.api.ApiTestCase | test_zone_update | - | - | assertEqual: ref["username"] = "u001" | |
10 | 8 | NTT | zhou | Normal checking | nova.schduler.api | get_zone_capabilities | nova.tests.schduler.api.ApiTestCase | test_get_zone_capabilities | - | - | assertEqual: self.get_zone_capabilities_called = True | |
11 | 9 | NTT | zhou | Normal checking | nova.schduler.api | select | nova.tests.schduler.api.ApiTestCase | test_select | - | - | assertEqual: self.select_called = True | |
12 | 10 | NTT | zhou | Parameter checking | nova.schduler.api | select | nova.tests.schduler.api.ApiTestCase | test_select_parameter | - | - | assertEqual: self.select_called = True assertEqual: self.select_called = True | |
13 | 11 | NTT | zhou | Normal checking | nova.schduler.api | update_service_capabilities | nova.tests.schduler.api.ApiTestCase | test_update_service_capabilities | - | - | assertEqual: self.update_service_capabilities_called = True | |
14 | 12 | NTT | zhou | Normal checking | nova.schduler.api | child_zone_helper | nova.tests.schduler.api.ApiTestCase | test_child_zone_helper | - | - | assertEqual: len(ref) = 2 assertEqual: self.test_func_called = True | |
15 | 13 | NTT | zhou | Exception checking | nova.schduler.api | child_zone_helper | nova.tests.schduler.api.ApiTestCase | test_child_zone_helper_exception | - | - | assertEqual: ref[0][0] = '1 or more Zones could not complete the request' | |
16 | 14 | NTT | zhou | Normal checking | nova.schduler.api | wrap_novaclient_function | nova.tests.schduler.api.ApiTestCase | test_wrap_novaclient_function | - | - | assertEqual: self.test_func_called = True | |
17 | 15 | NTT | zhou | Normal checking | nova.schduler.api | redirect_handler | nova.tests.schduler.api.ApiTestCase | test_redirect_handler | - | - | assertEqual: self.test_func_called = True | |
18 | 16 | NTT | zhou | Exception checking | nova.schduler.api | redirect_handler | nova.tests.schduler.api.ApiTestCase | test_redirect_handler_exception | - | - | assertEqual: ref[0] = '1 or more Zones could not complete the request' assertEqual: ref[0][0] = '1 or more Zones could not complete the request' assertEqual: ref[1][0] = '1 or more Zones could not complete the request' | |
19 | 17 | NTT | zhou | Normal checking | nova.schduler.api.reroute_compute | __call__ | nova.tests.schduler.api.Reroute_computeTestCase | test___call__ | - | - | assertEqual: self.test_func_called = True assertEqual: self.test_func_called = True | |
20 | 18 | NTT | zhou | Exception checking | nova.schduler.api.reroute_compute | __call__ | nova.tests.schduler.api.Reroute_computeTestCase | test___call___exception | - | - | assertRaises: exception.InstanceNotFound | |
21 | 18 | NTT | zhou | DataBase checking | nova.schduler.api.reroute_compute | __call__ | nova.tests.schduler.api.Reroute_computeTestCase | test___call___database | - | - | assertEqual: self.instance_get_by_uuid_success = True | |
22 | 19 | NTT | zhou | Normal checking | nova.schduler.api.reroute_compute | replace_uuid_with_id | nova.tests.schduler.api.Reroute_computeTestCase | test_replace_uuid_with_id | - | - | assertEqual: temp_kwargs['instance_id'] = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' assertEqual: temp_args[2] = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' | |
23 | 20 | NTT | zhou | Parameter checking | nova.schduler.api.reroute_compute | unmarshall_result_parameter | nova.tests.schduler.api.Reroute_computeTestCase | test_unmarshall_result_parameter | - | - | assertRaises: exception.InstanceNotFound assertEqual: self.test_func_called = True | |
24 |