'Testing valid SHP Data Source files.'

def test01_valid_shp(self):

    for source in ds_list:
        ds = DataSource(source.ds)
        self.assertEqual(1, len(ds))
        self.assertEqual(source.ds, ds.name)
        self.assertEqual(source.driver, str(ds.driver))
        with self.assertRaises(OGRIndexError):
            ds[len(ds)]
