summaryrefslogtreecommitdiff
path: root/sw/qa/python/check_xmodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/python/check_xmodel.py')
-rw-r--r--sw/qa/python/check_xmodel.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/qa/python/check_xmodel.py b/sw/qa/python/check_xmodel.py
index c257ef33fb79..f6894dd21a3f 100644
--- a/sw/qa/python/check_xmodel.py
+++ b/sw/qa/python/check_xmodel.py
@@ -36,7 +36,8 @@ class TestXModel(unittest.TestCase):
p4 = PropertyValue(Name="LockExport", Value=True)
p5 = PropertyValue(Name="LockPrint", Value=True)
p6 = PropertyValue(Name="LockSave", Value=True)
- xDoc.setArgs([p1, p2, p3, p4, p5, p6])
+ p7 = PropertyValue(Name="LockEditDoc", Value=True)
+ xDoc.setArgs([p1, p2, p3, p4, p5, p6, p7])
# Make sure that all properties are returned with getArgs()
args = xDoc.getArgs()
@@ -46,6 +47,7 @@ class TestXModel(unittest.TestCase):
self.assertTrue(p4 in args)
self.assertTrue(p5 in args)
self.assertTrue(p6 in args)
+ self.assertTrue(p7 in args)
xDoc.close(True)