Beispiel #1
0
 def test_cache_folder(self):
     from filters import ColorToAlpha
     mb = TilesManager(tiles_url='http://server')
     self.assertEqual(mb.cache.folder, '/tmp/landez/server')
     mb.add_filter(ColorToAlpha('#ffffff'))
     self.assertEqual(mb.cache.folder,
                      '/tmp/landez/servercolortoalphaffffff')
Beispiel #2
0
 def test_cache_folder(self):
     from filters import ColorToAlpha
     mb = TilesManager(tiles_url='http://server')
     self.assertEqual(mb.cache.folder, '/tmp/landez/server')
     mb.add_filter(ColorToAlpha('#ffffff'))
     self.assertEqual(mb.cache.folder, '/tmp/landez/servercolortoalphaffffff')