Add test coverage and authors name
This commit is contained in:
parent
14d1d950cd
commit
ca3a6675bc
1
AUTHORS
1
AUTHORS
|
@ -197,6 +197,7 @@ Justice Ndou
|
|||
Justyna Janczyszyn
|
||||
Kale Kundert
|
||||
Kamran Ahmad
|
||||
Kenny Y
|
||||
Karl O. Pinc
|
||||
Karthikeyan Singaravelan
|
||||
Katarzyna Jachim
|
||||
|
|
|
@ -777,6 +777,18 @@ class TestStackLevel:
|
|||
)
|
||||
|
||||
|
||||
def test_warning_on_testpaths_not_found(pytester: Pytester) -> None:
|
||||
# Check for warning when testpaths set, but not found by glob
|
||||
pytester.makeini(
|
||||
"""
|
||||
[pytest]
|
||||
testpaths = absent
|
||||
"""
|
||||
)
|
||||
result = pytester.runpytest()
|
||||
result.stdout.fnmatch_lines(["*ConfigWarning: testpaths defined*", "*1 warning*"])
|
||||
|
||||
|
||||
def test_resource_warning(pytester: Pytester, monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
# Some platforms (notably PyPy) don't have tracemalloc.
|
||||
# We choose to explicitly not skip this in case tracemalloc is not
|
||||
|
|
Loading…
Reference in New Issue