Skip to content
Permalink
Browse files

Exempt AFS provider from certain provider tests

  • Loading branch information
nyalldawson committed Feb 20, 2018
1 parent 5f12bd5 commit 10ceac60acb458f0a505f4f9972a25d678df1d88
Showing with 14 additions and 0 deletions.
  1. +14 −0 tests/src/python/test_provider_afs.py
@@ -441,6 +441,20 @@ def tearDownClass(cls):
#shutil.rmtree(cls.basetestpath, True)
cls.vl = None # so as to properly close the provider and remove any temporary file

def testGetFeaturesSubsetAttributes2(self):
""" Override and skip this test for AFS provider, as it's actually more efficient for the AFS provider to return
its features as direct copies (due to implicit sharing of QgsFeature), and the nature of the caching
used by the AFS provider.
"""
pass

def testGetFeaturesNoGeometry(self):
""" Override and skip this test for AFS provider, as it's actually more efficient for the AFS provider to return
its features as direct copies (due to implicit sharing of QgsFeature), and the nature of the caching
used by the AFS provider.
"""
pass


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

0 comments on commit 10ceac6

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