<filename>b_lambda_layer_common_test/unit/handler.py
import pytest


def handler(*args, **kwargs):
    """
    Programmatic access to run tests with pytest.

    WARNING. Do not delete this file. It is also used for lambda functions to run unit tests.
    """
    return dict(ExitCode=pytest.main([]))

<filename>b_lambda_layer_common_test/unit/handler.py
import pytest


def handler(*args, **kwargs):
    """
    Programmatic access to run tests with pytest.

    WARNING. Do not delete this file. It is also used for lambda functions to run unit tests.
    """
    return dict(ExitCode=pytest.main([]))

Programmatic access to run tests with pytest.      WARNING. Do not delete this file. It is also used for lambda functions to run unit tests.