Skip to content
Permalink
Browse files

Indentation

  • Loading branch information
nyalldawson committed Dec 4, 2017
1 parent dbd5215 commit d69290ea503053a167539a74d9b45bad4b4aecb0
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/python/test_qgslayoutmanager.py
@@ -14,7 +14,6 @@

import qgis # NOQA


from qgis.PyQt.QtXml import QDomDocument

from qgis.core import (QgsComposition,
@@ -408,12 +407,13 @@ def testRenameSignal(self):
layout_renamed_spy = QSignalSpy(manager.layoutRenamed)
layout.setName('d1')
self.assertEqual(len(layout_renamed_spy), 1)
#self.assertEqual(layout_renamed_spy[0][0], layout)
# self.assertEqual(layout_renamed_spy[0][0], layout)
self.assertEqual(layout_renamed_spy[0][1], 'd1')
layout2.setName('d2')
self.assertEqual(len(layout_renamed_spy), 2)
#self.assertEqual(layout_renamed_spy[1][0], layout2)
# self.assertEqual(layout_renamed_spy[1][0], layout2)
self.assertEqual(layout_renamed_spy[1][1], 'd2')


if __name__ == '__main__':
unittest.main()

0 comments on commit d69290e

Please sign in to comment.
You can’t perform that action at this time.