"""Tests main conftest file.""" from pytest_dynamodb import factories # pylint:disable=invalid-name dynamodb_same = factories.dynamodb("dynamodb_proc") dynamodb_diff = factories.dynamodb( "dynamodb_proc", access_key="denied_key", secret_key="public_key" ) # pylint:enable=invalid-name
"""Tests main conftest file.""" import sys import warnings from pytest_dynamodb import factories if not sys.version_info >= (3, 5): warnings.simplefilter("error", category=DeprecationWarning) # pylint:disable=invalid-name dynamodb_same = factories.dynamodb('dynamodb_proc') dynamodb_diff = factories.dynamodb( 'dynamodb_proc', access_key='denied_key', secret_key='public_key' ) # pylint:enable=invalid-name
dest='dynamodb_aws_region', help=_help_aws_region, ) parser.addoption('--dynamodb-dir', action='store', metavar='path', dest='dynamodb_dir', help=_help_dir) parser.addoption( '--dynamodb-host', action='store', dest='dynamodb_host', help=_help_host, ) parser.addoption('--dynamodb-port', action='store', dest='dynamodb_port', help=_help_port) parser.addoption('--dynamodb-delay', action='store', dest='dynamodb_delay', help=_help_delay) dynamodb_proc = factories.dynamodb_proc() dynamodb = factories.dynamodb('dynamodb_proc')
parser.addoption( "--dynamodb-dir", action="store", metavar="path", dest="dynamodb_dir", help=_help_dir, ) parser.addoption( "--dynamodb-host", action="store", dest="dynamodb_host", help=_help_host, ) parser.addoption("--dynamodb-port", action="store", dest="dynamodb_port", help=_help_port) parser.addoption( "--dynamodb-delay", action="store", dest="dynamodb_delay", help=_help_delay, ) dynamodb_proc = factories.dynamodb_proc() dynamodb = factories.dynamodb("dynamodb_proc")