test cleanups

This commit is contained in:
Dane Springmeyer 2011-12-22 12:41:51 -08:00
parent cf4315945f
commit 477ac9c4f9
10 changed files with 4 additions and 12 deletions

View file

@ -3,7 +3,7 @@
import os
import mapnik
from nose.tools import *
from utilities import execution_path,Todo
from utilities import execution_path
def setup():
# All of the paths used are relative, if we run the tests

View file

@ -54,7 +54,7 @@ def test_shapefile_polygon_feature_query_id():
compare_shape_between_mapnik_and_ogr('../data/shp/world_merc.shp',query)
def test_feature_hit_count():
raise Todo("need to optimize multigeom bbox handling in shapeindex")
raise Todo("need to optimize multigeom bbox handling in shapeindex: https://github.com/mapnik/mapnik/issues/783")
# results in different results between shp and ogr!
#bbox = (-14284551.8434, 2074195.1992, -7474929.8687, 8140237.7628)
bbox = (1113194.91,4512803.085,2226389.82,6739192.905)

View file

@ -5,7 +5,6 @@ from nose.tools import *
import mapnik
from binascii import unhexlify
from utilities import Todo
class FeatureTest(unittest.TestCase):
def makeOne(self, *args, **kw):

View file

@ -2,8 +2,6 @@
# -*- coding: utf-8 -*-
from nose.tools import *
from utilities import Todo
import mapnik
if hasattr(mapnik,'Expression'):

View file

@ -6,7 +6,6 @@ import os, mapnik
from timeit import Timer, time
from nose.tools import *
from utilities import execution_path
from utilities import Todo
def setup():
# All of the paths used are relative, if we run the tests

View file

@ -3,7 +3,6 @@
import os
from nose.tools import *
from utilities import execution_path
from utilities import Todo
import mapnik

View file

@ -2,8 +2,6 @@
import itertools
import unittest
from utilities import Todo
class MemoryDatasource(unittest.TestCase):
ids = itertools.count(0)

View file

@ -2,7 +2,7 @@
from nose.tools import *
from utilities import execution_path, Todo
from utilities import execution_path
import os, sys, glob, mapnik

View file

@ -4,7 +4,7 @@
from nose.tools import *
import os, mapnik
from utilities import Todo
try:
import json
except ImportError:

View file

@ -6,7 +6,6 @@ import tempfile
import os, mapnik
from nose.tools import *
from utilities import execution_path
from utilities import Todo
def setup():
# All of the paths used are relative, if we run the tests