[Test] fix failing test

Solves an issue with the test module when running test-suite
as described in
https://forum.freecadweb.org/viewtopic.php?f=10&t=58099

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
This commit is contained in:
Bernd Waibel
2021-04-28 21:51:48 +02:00
parent d5393bb1e1
commit 203d408429

View File

@@ -1307,7 +1307,7 @@ class DocumentFileIncludeCases(unittest.TestCase):
# copy file from L5 which is in the same directory
L7 = doc2.addObject("App::DocumentObjectFileIncluded","FileObject3")
L7.File = (L5.File,"Copy.txt")
self.failUnless(os.path.exists(L5.File))
self.failUnless(os.path.exists(L7.File))
FreeCAD.closeDocument("Doc2")