Skip to content

Error Running Integration Tests #1624

@beck3905

Description

@beck3905

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

  1. install python versions with pyenv
  2. installed Black and pre-commit
  3. created and activated samcli37 virtualenv
  4. run make init
  5. run make pr
  6. 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)

  1. OS: Mac OS 10.15.1
  2. sam --version: latest from repository

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions