-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Description
I am getting an AttributeError when attempting to run integration tests on this repository after following all instructions from the development guide.
Briefly describe the bug you are facing.
Steps to reproduce
I just forked, cloned, and set up a dev environment for this repository. I followed the instructions in the Development Guide to
- install python versions with pyenv
- installed Black and pre-commit
- created and activated samcli37 virtualenv
- run
make init - run
make pr - run
make integ-test
Observed result
____________________________________________________________________ ERROR collecting tests/integration/buildcmd/test_build_cmd.py _____________________________________________________________________ ../../.pyenv/versions/3.7.2/lib/python3.7/unittest/loader.py:235: in getTestCaseNames testFnNames = list(filter(shouldIncludeMethod, dir(testCaseClass))) ../../.pyenv/versions/3.7.2/lib/python3.7/unittest/loader.py:232: in shouldIncludeMethod fullName = '%s.%s' % (testCaseClass.__module__, testFunc.__qualname__) E AttributeError: 'MarkDecorator' object has no attribute '__qualname__'
Expected result
Integration tests to run and pass on fresh environment
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- OS: Mac OS 10.15.1
sam --version: latest from repository