A good start on project tests. needed some tewaking of the project class.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user