summaryrefslogtreecommitdiff
blob: 58107fb544d1aab5052995cd282bb2fd200e10cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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