Added tests for new sample and new custom project

This commit is contained in:
Veronica K. B. Olsen
2020-08-11 00:02:02 +02:00
parent 3acabdf74e
commit a46803232c
4 changed files with 345 additions and 2 deletions
+14
View File
@@ -38,6 +38,20 @@ def nwTempBuild(nwTemp):
mkdir(buildDir)
return buildDir
@pytest.fixture(scope="session")
def nwTempCustom(nwTemp):
customDir = path.join(nwTemp, "custom")
if not path.isdir(customDir):
mkdir(customDir)
return customDir
@pytest.fixture(scope="session")
def nwTempSample(nwTemp):
sampleDir = path.join(nwTemp, "sample")
if not path.isdir(sampleDir):
mkdir(sampleDir)
return sampleDir
@pytest.fixture(scope="session")
def nwRef():
testDir = path.dirname(__file__)