@@ -0,0 +1,474 @@
+#!/usr/bin/env python%0A%0Afrom nose.tools import *%0Afrom utilities import execution_path%0A%0Aimport os, mapnik%0A%0Adef setup():%0A    # All of the paths used are relative, if we run the tests%0A    # from another directory we need to chdir()%0A    os.chdir(execution_path('.'))%0A    %0Adef test_field_listing():%0A    lyr = mapnik.Layer('test')%0A    lyr.datasource = mapnik.Shapefile(file='../data/shp/poly.shp')%0A    fields = lyr.datasource.fields()%0A    eq_(fields, %5B'AREA', 'EAS_ID', 'PRFEDEA'%5D)

add test for new ds.fields() method added in r1121