Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Not working #4

Open
Open
@Tobbeman

Description

@Tobbeman

Hello, this looks like a great plugin for my usecase!
Sadly I have issues, does not look like it is working and I'm not sure why

e2e_test.py:

"""
This module contain end to end tests on a site. End to end in this context
includes activation and basic status check
"""


def test_activation(virtual_site):
    """
    'Dummy' test that will ensure the activation is working
    The actual activation is done in the fixture
    """
    assert True

conftest.py:

@pytest.fixture(scope="session")
def virtual_site():
-- redacted --

result in

$ pylint e2e_test.py 
************* Module e2e_test
e2e_test.py:7:20: W0613: Unused argument 'virtual_site' (unused-argument)

------------------------------------------------------------------
Your code has been rated at 5.00/10 (previous run: 2.50/10, +2.50)

pyproject.toml:

[tool.black]
line-length = 79

[tool.pylint.'MASTER']
load-plugins = "pylint_pytest"

[tool.pylint.'FORMAT']
max-line-length = 79

env:

$ pylint --version
pylint 2.7.1
astroid 2.5
Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0]
$ pytest --version
pytest 6.2.2
$ pipenv --version
pipenv, version 2020.11.15
 

I realize this might not be much to go on, please let me know if I can provide more info :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions