diff options
author | U-DESKTOP-CETSUCA\sigma <jfeal@worcester.edu> | 2023-11-06 03:23:30 -0500 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2023-12-23 09:13:50 +0100 |
commit | 40a9dd85d10c642eed98cd50fbdd89f93b99ed8e (patch) | |
tree | dcf7df5a4460e34f6502812471bfcd7764590366 /sw/qa | |
parent | 9cc8457abcae57c7f9de6e0fbca1fbc2a0cc9892 (diff) |
sw: uitest: remove redundant function
Change-Id: I772771b7d455bae8be1dffed29fbc3605ea3e3fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158981
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/python/check_xnamedgraph.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sw/qa/python/check_xnamedgraph.py b/sw/qa/python/check_xnamedgraph.py index 84c774bddfa3..3ef7fdedbba0 100644 --- a/sw/qa/python/check_xnamedgraph.py +++ b/sw/qa/python/check_xnamedgraph.py @@ -63,23 +63,6 @@ class XNamedGraph(unittest.TestCase): xDMA = self._uno.openTemplateFromTDOC("XNamedGraph.ott") xGraph = self.getAnyGraph(xDMA) - DATE_URI_STR = "http://www.example.com/Metadata#Version" - OBJECT_STR = "foo" - - # remove by object - self.assertFalse(self.hasStatement(xDMA, xGraph, DATE_URI_STR)) - self.addStatement(xDMA, xGraph, DATE_URI_STR, OBJECT_STR) - self.assertTrue(self.hasStatement(xDMA, xGraph, DATE_URI_STR)) - self.removeStatement(xDMA, xGraph, None, OBJECT_STR) - self.assertFalse(self.hasStatement(xDMA, xGraph, DATE_URI_STR)) - - xDMA.close(True) - - def test_Statements_RemoveByObject(self): - # take any first graph - xDMA = self._uno.openTemplateFromTDOC("XNamedGraph.ott") - xGraph = self.getAnyGraph(xDMA) - DATE_URI_STR_1 = "http://www.example.com/Metadata#Version" DATE_URI_STR_2 = "http://www.example.com/Metadata#Second" OBJECT_STR = "foo" |