Skip to content

Every line in test docstrings has to end with . #1

@alithethird

Description

@alithethird

In the test docstrings every line has to end with a .. This is not nice. Sometimes the docstring has to be tall and span a couple of lines.

We can use indentation to show that the sentence is continous.

Example:

def test_something():
    """
    arrange: This is a very important part of a very important test so
        the arrange sentence has to be loooong.
    act: Do the test.
    assert: It better not fail 😠.
    """

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions