see: https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html#choosing-an-import-mode https://docs.pytest.org/en/7.1.x/explanation/pythonpath.html#import-modes This change fixes the SAM tests.
__getattr__