]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Removing all prints and capturing logging
authorClint Byrum <clint@fewbar.com>
Thu, 25 Apr 2013 23:33:48 +0000 (16:33 -0700)
committerClint Byrum <clint@fewbar.com>
Tue, 30 Apr 2013 20:51:31 +0000 (13:51 -0700)
commitfb6de9419fe729f2a46dcb10ce6191439d933218
tree41a1ccf06f839b4b30feb403a376e45c70ec8720
parentf40a4bb33346fb4022dfb6b94eab12befd61bd91
Removing all prints and capturing logging

A new base class for tests is used to reduce repetitive steps used in
a majority of tests. This new base class also uses fixtures.FakeLogger
to suppress logging, though it will be shown on any failures to aid in
debugging the failure.

Prints that happen on normal operation of the test suite are all removed
as they are not needed and only clutter the output.

Change-Id: I0365283ce415c5390fd68bdf1f0b3c8038b1b9af
heat/tests/common.py [new file with mode: 0644]
heat/tests/test_api_aws.py
heat/tests/test_api_cfn_v1.py
heat/tests/test_api_cloudwatch.py
heat/tests/test_common_policy.py
heat/tests/test_dbinstance.py
heat/tests/test_loadbalancer.py
heat/tests/test_nested_stack.py
heat/tests/test_volume.py
heat/tests/utils.py