Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Exempt AFS provider from certain provider tests
  • Loading branch information
nyalldawson committed Feb 20, 2018
1 parent 5f12bd5 commit 10ceac6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/src/python/test_provider_afs.py
Expand Up @@ -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.