Clean up a few remnants of old test code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user