Skip to content
Permalink
Browse files

Fix tests

  • Loading branch information
nyalldawson committed Sep 10, 2017
1 parent 2a88a5a commit 02e8f1e6fa77c9483420795d6dbbab62587cd1d6
@@ -30,6 +30,7 @@


class optionsDialog(QDialog, Ui_SettingsDialogPythonConsole):

def __init__(self, parent):
QDialog.__init__(self, parent)
self.setWindowTitle(QCoreApplication.translate(
@@ -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)
@@ -37,6 +37,7 @@
from qgis.testing import start_app, unittest
from featuresourcetestbase import FeatureSourceTestCase
from utilities import unitTestDataPath

start_app()


@@ -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.
You can’t perform that action at this time.