Permalink
Browse files

Change query file extension. Comment out test with getFeature.

  • Loading branch information...
geographika committed Mar 19, 2018
1 parent 0c04a2b commit 4ccc7a795a9226b850d20edf77763a1b3dbacbd1
Showing with 3 additions and 3 deletions.
  1. +3 −3 mapscript/python/tests/cases/resultcachetest.py
@@ -99,7 +99,7 @@ def testQueryResultBounds(self):
e = self.layer.getExtent()
self.assertRectsEqual(results.bounds, e)
def testQueryResultMembers(self):
def xtestQueryResultMembers(self):
"""get the single result member"""
results = self.pointquery()
self.layer.open()
@@ -130,11 +130,11 @@ class DumpAndLoadTestCase(LayerQueryTestCase):
def testSaveAndLoadQuery(self):
"""test saving query to a file"""
results = self.pointquery()
self.map.saveQuery('test.qry')
self.map.saveQuery('test.qy')
self.map.freeQuery()
results = self.layer.getResults()
assert results == None
self.map.loadQuery('test.qry')
self.map.loadQuery('test.qy')
results = self.layer.getResults()
assert results is not None

0 comments on commit 4ccc7a7

Please sign in to comment.