moto/tests/__init__.py

16 lines
480 B
Python
Raw Normal View History

2017-02-16 03:35:45 +00:00
import logging
2019-10-31 15:44:26 +00:00
from . import helpers # noqa
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"
2021-09-25 11:13:07 +00:00
EXAMPLE_AMI_PARAVIRTUAL = "ami-fa7cdd89"
EXAMPLE_AMI_WINDOWS = "ami-f4cf1d8d"