ee7fa99ca6
mock patch out the glance and nova calls to do more realistic testing without either using stubs or adding unnecessary conditionals to the code.
22 lines
917 B
Python
22 lines
917 B
Python
# Copyright 2016 Red Hat, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
PROJECT_ID = '89afd400-b646-4bbc-b12b-c0a4d63e5bd3'
|
|
USER_ID = 'c853ca26-e8ea-4797-8a52-ee124a013d0e'
|
|
INSTANCE_ID = 'e4274dc8-325a-409b-92fd-cfdfdd65ae8b'
|
|
IMAGE_ID = 'b8c88e01-c820-40f6-b026-00926706e374'
|
|
|
|
# In reality this should be a Server object.
|
|
fake_instance = {'instance_name': 'test', 'id': INSTANCE_ID}
|