# under the License.
from heat.common import wsgi
-from heat.common import context
from heat.rpc import client as rpc_client
from heat.common import identifier
from heat.api.aws import exception
logger = logging.getLogger(__name__)
from boto.ec2.cloudwatch import CloudWatchConnection
-from boto.ec2.cloudwatch.metric import Metric
-from boto.ec2.cloudwatch.alarm import MetricAlarm, MetricAlarms
-from boto.ec2.cloudwatch.alarm import AlarmHistoryItem
-from boto.ec2.cloudwatch.datapoint import Datapoint
class BotoCWClient(CloudWatchConnection):
# under the License.
from heat.common import exception
-from heat.engine.resources import instance
from heat.engine import resource
from heat.openstack.common import log as logging
# License for the specific language governing permissions and limitations
# under the License.
-import time
import urllib
import urlparse
import json
def setup():
import mox # Fail fast if you don't have mox. Workaround for bug 810424
-
- from heat import db
from heat.db import migration
+ from heat import db
reset_db()
migration.db_sync()
import util
import verify
import re
-import nose
from nose.plugins.attrib import attr
import unittest
import json
import util
import verify
import re
-import nose
from nose.plugins.attrib import attr
import unittest
import json
import os
import util
-import verify
from nose.plugins.attrib import attr
import unittest
# License for the specific language governing permissions and limitations
# under the License.
-import json
import os.path
import mox
from heat.engine import parser
from heat.engine import template
from heat.engine import event
-from heat.engine import resource
tmpl = {
from heat.common import exception
from heat.common import context
from heat.common import template_format
-from heat.common import identifier
from heat.engine import parser
from heat.engine.resources import instance
from heat.engine.resources import user
from heat.engine.resources import loadbalancer as lb
from heat.engine.resources import wait_condition as wc
from heat.engine.resource import Metadata
-from heat.engine.resources import stack
from heat.tests.v1_1 import fakes
from heat.tests import fakes as test_fakes
import mox
-import uuid
-import time
-import datetime
-import json
import eventlet
import unittest
from nose.plugins.attrib import attr
-from oslo.config import cfg
-
from heat.tests import fakes
from heat.tests.utils import stack_delete_after
-import heat.db as db_api
from heat.common import template_format
-from heat.common import identifier
from heat.engine import parser
from heat.engine.resources import instance
from heat.common import context
# License for the specific language governing permissions and limitations
# under the License.
-import json
from nose.plugins.attrib import attr
import os
import unittest
-import yaml
from heat.common import context
from heat.common import template_format