moto/tests/__init__.py

14 lines
412 B
Python
Raw Normal View History

from __future__ import unicode_literals
2017-02-16 03:35:45 +00:00
import logging
2019-10-31 15:44:26 +00:00
2017-02-16 03:35:45 +00:00
# Disable extra logging for tests
2019-10-31 15:44:26 +00:00
logging.getLogger("boto").setLevel(logging.CRITICAL)
logging.getLogger("boto3").setLevel(logging.CRITICAL)
logging.getLogger("botocore").setLevel(logging.CRITICAL)
# Sample pre-loaded Image Ids for use with tests.
# (Source: moto/ec2/resources/amis.json)
EXAMPLE_AMI_ID = "ami-12c6146b"
EXAMPLE_AMI_ID2 = "ami-03cf127a"