Exemplo n.º 1
0
 def setUp(self):
     """Setup configuration."""
     self.config = Namespace(interpolate({
         'url': '//localhost',
         'blog_url': '{url}/blog',
         'img_url': '{url}/static/img',
         'img_dir': os.path.join(TEST_DIR, 'static', 'img')
     }))