@unittest.skipIf((mock_dynamodb2 is None), 'mock_dynamodb2 package not present')
@mock_dynamodb2
def test_get_conn_returns_a_boto3_connection(self):
    hook = AwsDynamoDBHook(aws_conn_id='aws_default')
    self.assertIsNotNone(hook.get_conn())
@unittest.skipIf((mock_dynamodb2 is None), 'mock_dynamodb2 package not present')
@mock_dynamodb2
def test_get_conn_returns_a_boto3_connection(self):
    hook = AwsDynamoDBHook(aws_conn_id='aws_default')
    self.assertIsNotNone(hook.get_conn())