Kaydet (Commit) f4e9e76a authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

PythonTest_sfx2_python: StylesPropertyPanel is the first panel now

Change-Id: I352f14741dd9346bb41d4e3233b256898809773e
üst 220ec3b1
...@@ -96,7 +96,7 @@ class CheckSidebar(unittest.TestCase): ...@@ -96,7 +96,7 @@ class CheckSidebar(unittest.TestCase):
panelsCount = xPanels.getCount() panelsCount = xPanels.getCount()
self.assertEqual ( panelsCount, 5 ) self.assertEqual ( panelsCount, 5 )
firstPanelName = "TextPropertyPanel" firstPanelName = "StylesPropertyPanel"
panelElementNames = xPanels.getElementNames() panelElementNames = xPanels.getElementNames()
assert ( firstPanelName in panelElementNames ) assert ( firstPanelName in panelElementNames )
...@@ -112,7 +112,7 @@ class CheckSidebar(unittest.TestCase): ...@@ -112,7 +112,7 @@ class CheckSidebar(unittest.TestCase):
xPanel.moveFirst() xPanel.moveFirst()
initialIndex = xPanel.getOrderIndex() initialIndex = xPanel.getOrderIndex()
#assert ( initialIndex == 120 ) assert ( initialIndex == 100 )
xPanel.moveLast() xPanel.moveLast()
assert ( xPanel.getOrderIndex() > initialIndex ) assert ( xPanel.getOrderIndex() > initialIndex )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment