Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
nyalldawson committed Sep 10, 2017
1 parent 2a88a5a commit 02e8f1e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/console/console_settings.py
Expand Up @@ -30,6 +30,7 @@


class optionsDialog(QDialog, Ui_SettingsDialogPythonConsole):

def __init__(self, parent):
QDialog.__init__(self, parent)
self.setWindowTitle(QCoreApplication.translate(
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/featuresourcetestbase.py
Expand Up @@ -650,4 +650,4 @@ def testMaximumValue(self):

def testAllFeatureIds(self):
ids = set([f.id() for f in self.source.getFeatures()])
self.assertEqual(set(self.source.allFeatureIds()),ids)
self.assertEqual(set(self.source.allFeatureIds()), ids)
6 changes: 6 additions & 0 deletions tests/src/python/test_qgsvectorlayercache.py
Expand Up @@ -37,6 +37,7 @@
from qgis.testing import start_app, unittest
from featuresourcetestbase import FeatureSourceTestCase
from utilities import unitTestDataPath

start_app()


Expand Down Expand Up @@ -105,6 +106,11 @@ def testMaximumValue(self):
"""
pass

def testAllFeatureIds(self):
""" Skip allFeatureIds test - not implemented by the cache (yet)
"""
pass


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

0 comments on commit 02e8f1e

Please sign in to comment.