Passed
Pull Request — master (#14)
by Komail
01:06
created

tests.test_sphinx_doc   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 9
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_doc_tox_env() 0 7 2
1
from . import bake_cookie, subprocess_in_dir
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
2
3
4
def test_doc_tox_env(cookies):
0 ignored issues
show
introduced by
Missing function or method docstring
Loading history...
5
    with bake_cookie(cookies) as result:
6
        assert result.project.isdir()
7
        subprocess_in_dir(
0 ignored issues
show
Unused Code Bug introduced by
The expression subprocess_in_dir('tox -...r(result.project)) == 0 does not seem to have sideeffects and its result is not used.

If a expression has no sideeffects (any lasting effect after it has been called) and its return value is not used, this usually means that this code can be removed or that an assignment is missing.

Loading history...
8
            "tox -e docs --workdir .tox",
9
            str(result.project),
10
        ) == 0
11