Files
deb-tempest/tempest/tests/fake_config.py
Matthew Treinish a33037e528 Add unit tests for rest_client
This commit adds the first unit tests for the rest client. This is just
the first basic set of tests which were written to mostly verify some
common fake objects that will be useful moving forward. The intent is
for more advanced to be built off of this.

Partially implements bp unit-tests

Change-Id: I19173523ceec3c4fce62f9a3ab61cc9ee23c1801
2013-12-19 15:53:49 +00:00

29 lines
907 B
Python

# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 IBM Corp.
#
# 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.
class FakeConfig(object):
class fake_compute(object):
build_interval = 10
build_timeout = 10
class fake_identity(object):
disable_ssl_certificate_validation = True
compute = fake_compute()
identity = fake_identity()