Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serveral tests fail due to (pytest 4.x?) changes #20

Open
koobs opened this issue May 18, 2019 · 0 comments
Open

Serveral tests fail due to (pytest 4.x?) changes #20

koobs opened this issue May 18, 2019 · 0 comments

Comments

@koobs
Copy link

koobs commented May 18, 2019

Several tests fail with the same error in ploy_ansible/conftest.py:

platform freebsd13 -- Python 2.7.16, pytest-4.5.0, py-1.8.0, pluggy-0.11.0
rootdir: /usr/home/koobs/repos/freebsd/ports/sysutils/py-ploy_ansible/work-py27/ploy_ansible-1.4.1
plugins: xdist-1.28.0, mock-1.10.4, forked-1.0.2


caplog = <_pytest.logging.LogCaptureFixture object at 0x805e29450>

    @pytest.fixture
    def caplog(caplog):
        def messages(self, level=logging.INFO):
            return [
                x.message
                for x in self.records
                if x.levelno >= level]
>       caplog.messages = messages.__get__(caplog, caplog.__class__)
E       AttributeError: can't set attribute

ploy_ansible/conftest.py:16: AttributeError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant