You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/freecad/files/freecad-0.19.2-0001-fix-fai...

27 lines
896 B

From dc04c745ea1e7dc277ab06fab69a2b91fbf543c5 Mon Sep 17 00:00:00 2001
From: Bernd Waibel <waebbl-gentoo@posteo.net>
Date: Sun, 25 Apr 2021 23:02:39 +0200
Subject: [PATCH] fix failing test workbench testcase
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
---
src/Mod/Test/Document.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Mod/Test/Document.py b/src/Mod/Test/Document.py
index e41375c..fd5eb15 100644
--- a/src/Mod/Test/Document.py
+++ b/src/Mod/Test/Document.py
@@ -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")
--
2.31.1