Revert "Add timestamp to document meta"
This commit is contained in:
committed by
GitHub
parent
de848511af
commit
2df0d81d29
@@ -66,7 +66,7 @@ def testGuiMergeSplit_Tools(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir)
|
||||
testFile = os.path.join(outDir, "guiMerge_73475cb40a568.nwd")
|
||||
compFile = os.path.join(refDir, "guiMerge_73475cb40a568.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
# Split By Chapter
|
||||
assert nwGUI.treeView.setSelectedHandle("73475cb40a568")
|
||||
@@ -92,7 +92,7 @@ def testGuiMergeSplit_Tools(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir)
|
||||
testFile = os.path.join(outDir, "guiMerge_71ee45a3c0db9.nwd")
|
||||
compFile = os.path.join(refDir, "guiMerge_73475cb40a568.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [1, 2, 3, 4])
|
||||
assert cmpFiles(testFile, compFile, [1, 2, 3])
|
||||
|
||||
# Split By Scene
|
||||
assert nwGUI.treeView.setSelectedHandle("73475cb40a568")
|
||||
@@ -116,19 +116,19 @@ def testGuiMergeSplit_Tools(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir)
|
||||
testFile = os.path.join(outDir, "guiSplit_25fc0e7096fc6.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_25fc0e7096fc6.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
projFile = os.path.join(nwLipsum, "content", "31489056e0916.nwd")
|
||||
testFile = os.path.join(outDir, "guiSplit_31489056e0916.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_31489056e0916.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
projFile = os.path.join(nwLipsum, "content", "98010bd9270f9.nwd")
|
||||
testFile = os.path.join(outDir, "guiSplit_98010bd9270f9.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_98010bd9270f9.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
# Split By Section
|
||||
assert nwGUI.treeView.setSelectedHandle("73475cb40a568")
|
||||
@@ -154,31 +154,31 @@ def testGuiMergeSplit_Tools(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir)
|
||||
testFile = os.path.join(outDir, "guiSplit_1a6562590ef19.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_25fc0e7096fc6.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [1, 2, 3, 4])
|
||||
assert cmpFiles(testFile, compFile, [1, 2, 3])
|
||||
|
||||
projFile = os.path.join(nwLipsum, "content", "031b4af5197ec.nwd")
|
||||
testFile = os.path.join(outDir, "guiSplit_031b4af5197ec.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_031b4af5197ec.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
projFile = os.path.join(nwLipsum, "content", "41cfc0d1f2d12.nwd")
|
||||
testFile = os.path.join(outDir, "guiSplit_41cfc0d1f2d12.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_41cfc0d1f2d12.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
projFile = os.path.join(nwLipsum, "content", "2858dcd1057d3.nwd")
|
||||
testFile = os.path.join(outDir, "guiSplit_2858dcd1057d3.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_2858dcd1057d3.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
projFile = os.path.join(nwLipsum, "content", "2fca346db6561.nwd")
|
||||
testFile = os.path.join(outDir, "guiSplit_2fca346db6561.nwd")
|
||||
compFile = os.path.join(refDir, "guiSplit_2fca346db6561.nwd")
|
||||
copyfile(projFile, testFile)
|
||||
assert cmpFiles(testFile, compFile, [4])
|
||||
assert cmpFiles(testFile, compFile)
|
||||
|
||||
# qtbot.stopForInteraction()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user