Example #1
0
 def test_get_unexpanded_list(self):
     conf_dict = {
         'output_dir': '../www',
         'templates_dir': 'templates',
         'unexpanded_templates': ['404.html', '500.html']
     }
     self.assertEqual(conf.get_unexpanded_list(conf_dict),
                      ['404.html', '500.html'])
Example #2
0
 def test_get_unexpanded_list(self):
     conf_dict = {
         'output_dir': '../www',
         'templates_dir': 'templates',
         'unexpanded_templates': ['404.html', '500.html']
     }
     self.assertEqual(
         conf.get_unexpanded_list(conf_dict),
         ['404.html', '500.html']
     )
Example #3
0
 def test_get_unexpanded_list_empty(self):
     self.assertEqual(conf.get_unexpanded_list({}), ())
Example #4
0
 def test_get_unexpanded_list_empty(self):
     self.assertEqual(conf.get_unexpanded_list({}), ())