A good start on project tests. needed some tewaking of the project class.

This commit is contained in:
Veronica K. B. Olsen
2019-05-12 14:54:02 +02:00
parent 72a3e4f9dd
commit c39efc34fd
8 changed files with 263 additions and 11 deletions
+7
View File
@@ -2,6 +2,13 @@
"""novelWriter Test Tools
"""
from os import path, mkdir
def ensureDir(theDir):
if not path.isdir(theDir):
mkdir(theDir)
return
def cmpFiles(fileOne, fileTwo, ignoreLines=[]):
foOne = open(fileOne,mode="r")
foTwo = open(fileTwo,mode="r")