Clean up a few remnants of old test code

This commit is contained in:
Veronica Berglyd Olsen
2023-06-09 22:06:38 +02:00
parent 112aa8468c
commit 0eb39d2e0a
7 changed files with 14 additions and 40 deletions
-21
View File
@@ -200,27 +200,6 @@ def mockRnd(monkeypatch):
# Temp Project Folders
##
@pytest.fixture(scope="function")
def nwLipsum():
"""A medium sized novelWriter example project with a lot of Lorem
Ipsum text.
"""
srcDir = _TST_ROOT / "lipsum"
dstDir = _TMP_ROOT / "lipsum"
if dstDir.exists():
shutil.rmtree(dstDir)
shutil.copytree(srcDir, dstDir)
cleanProject(dstDir)
yield str(dstDir)
if dstDir.exists():
shutil.rmtree(dstDir)
return
@pytest.fixture(scope="function")
def prjLipsum():
"""A medium sized novelWriter example project with a lot of Lorem