openstacksdk/shade/tests/unit
Monty Taylor a88d41e302
Fix tips jobs and convert Nova Floating IP calls
The script to install the git versions of the libraries wasn't working
because it wasn't installing over top of the versions already installed
by pip. So by adding an uninstall first, we ensure that the git version
is actually installed.

Also, add a pbr freeze to the end so that we can verify, and some +x so
that we can see the output of our scripts.

And: novaclient 8.0 doesn't have these calls anymore. However, the tests we
had on legacy clouds were erroneously installing the wrong version of
novaclient so we did not catch it. Doh. This has to do the tests and the
calls in the same patch because the fix to the gate job to install the
correct verison of the library exposed the fact that we had be broken
for these for a few minutes.

Depends-On: I208e8c009d0438de19cd3eb08dc45ddebb45d3e9
Change-Id: I4fd882aeb8373b94c7f6b54d97b457042b324361
2017-05-15 17:05:35 -05:00
..
fixtures Move mocks of designate API discovery calls to base test class 2017-05-14 09:34:09 +00:00
__init__.py Add initial compute functional tests to Shade 2015-03-13 13:40:46 +00:00
base.py Merge "Add 'public' as a default interface for get_mock_url" 2017-05-14 12:36:04 +00:00
test__adapter.py Removes unnecessary utf-8 encoding 2017-01-11 16:42:25 +05:30
test__utils.py Fix a few minor annoyances that snuck in 2017-03-29 04:16:39 -05:00
test_aggregate.py Removes unnecessary utf-8 encoding 2017-01-11 16:42:25 +05:30
test_availability_zones.py Add list_availability_zone_names method 2017-03-27 11:37:34 -05:00
test_caching.py Use REST API for volume type_access and volume create 2017-04-30 22:15:30 +00:00
test_cluster_templates.py Get rid of magnumclient dependency 2017-03-21 19:09:33 -05:00
test_create_server.py Enable neutron service in server create and rebuild tests 2017-05-07 11:14:04 +00:00
test_create_volume_snapshot.py Use REST API for volume snapshot calls 2017-05-07 17:52:05 +00:00
test_delete_server.py Removes unnecessary utf-8 encoding 2017-01-11 16:42:25 +05:30
test_delete_volume_snapshot.py Add assert_calls check testing volume calls with timeout enabled 2017-05-06 16:04:05 +00:00
test_domain_params.py Removes unnecessary utf-8 encoding 2017-01-11 16:42:25 +05:30
test_domains.py Replace keystone_client mock in test_groups 2017-03-08 12:37:33 -08:00
test_endpoints.py change test_endpoints to use requests mock 2017-03-14 15:01:15 -07:00
test_flavors.py Convert use of .register_uri to .register_uris 2017-02-13 16:40:15 -08:00
test_floating_ip_common.py Fix a NameError exception in _nat_destination_port 2016-10-14 17:08:10 +02:00
test_floating_ip_neutron.py Fix Neutron floating IP test 2017-05-07 19:50:03 +00:00
test_floating_ip_nova.py Fix tips jobs and convert Nova Floating IP calls 2017-05-15 17:05:35 -05:00
test_floating_ip_pool.py Strip out novaclient extra attributes 2017-03-25 10:06:34 -05:00
test_groups.py Replace keystone_client mock in test_groups 2017-03-08 12:37:33 -08:00
test_identity_roles.py Convert test_identity_roles to requests mock 2017-03-15 18:14:23 -07:00
test_image.py Migrate server snapshot tests to requests_mock 2017-04-02 17:01:35 -05:00
test_image_snapshot.py Migrate server snapshot tests to requests_mock 2017-04-02 17:01:35 -05:00
test_inventory.py Removes unnecessary utf-8 encoding 2017-01-11 16:42:25 +05:30
test_keypair.py Refactor unit tests to construct cloud in base 2016-03-19 13:24:34 -05:00
test_limits.py Remove mock of keystone where single projects are consumed 2017-02-12 15:16:32 -08:00
test_magnum_services.py Convert magnum service to requests_mock 2017-03-20 16:37:32 -05:00
test_meta.py Don't get ports info from unavailable neutron service 2017-05-03 07:04:24 +00:00
test_network.py Remove neutronclient mocks from network create tests 2017-04-23 17:22:28 +00:00
test_normalize.py Define a base function to remove unneeded attributes 2017-04-24 16:32:32 -07:00
test_object.py Convert test_object to use .register_uris 2017-02-17 05:44:41 +00:00
test_operator_noauth.py Let os-client-config handle session creation 2015-11-08 08:27:00 -05:00
test_port.py Remove neutronclient mocks from ports tests 2017-04-28 20:40:26 +00:00
test_project.py Convert use of .register_uri to .register_uris 2017-02-16 21:03:00 -08:00
test_quotas.py Use REST API for volume quotas calls 2017-05-08 17:07:54 +00:00
test_rebuild_server.py Enable neutron service in server create and rebuild tests 2017-05-07 11:14:04 +00:00
test_recordset.py Removes unnecessary utf-8 encoding 2017-01-11 16:42:25 +05:30
test_role_assignment.py Convert test_role_assignments to requests mock 2017-04-29 14:33:09 -07:00
test_router.py Remove neutronclient mocks from router tests 2017-04-25 21:39:41 +00:00
test_security_groups.py extend security_group and _rule with project id 2017-05-08 08:14:54 +02:00
test_server_console.py Add bare parameter to get/list/search server 2017-03-29 17:54:34 -05:00
test_server_delete_metadata.py Fix old-style mocking of nova_client 2017-03-25 07:47:23 -05:00
test_server_group.py Removes unnecessary utf-8 encoding 2017-01-11 16:42:25 +05:30
test_server_set_metadata.py Fix old-style mocking of nova_client 2017-03-25 07:47:23 -05:00
test_services.py Convert test_services to requests_mock 2017-03-10 11:15:21 -08:00
test_shade.py Move REST error_messages to error_message argument 2017-04-30 11:26:20 -05:00
test_shade_operator.py Futureproof keystone unit tests against new occ 2017-04-18 14:09:17 -05:00
test_stack.py Add test to validate multi _ heat stack_status 2017-03-31 11:58:00 -05:00
test_subnet.py Remove neutronclient mocks from subnet tests 2017-04-24 21:37:53 +00:00
test_task_manager.py Add support to task manager for async tasks 2017-01-16 14:55:22 -06:00
test_update_server.py Fix old-style mocking of nova_client 2017-03-25 07:47:23 -05:00
test_usage.py Remove mock of keystone where single projects are consumed 2017-02-12 15:16:32 -08:00
test_users.py Convert use of .register_uri to .register_uris 2017-02-13 16:40:15 -08:00
test_volume.py Use REST API for volume attach and volume backup calls 2017-05-04 13:40:42 +00:00
test_volume_access.py Use requests-mock for the list/add/remove volume types tests 2017-04-21 16:16:40 -07:00
test_volume_backups.py Add a _normalize_volume_backups method 2017-04-26 10:09:12 -07:00
test_zone.py Move mocks of designate API discovery calls to base test class 2017-05-14 09:34:09 +00:00