예제 #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'])
예제 #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']
     )
예제 #3
0
 def test_get_unexpanded_list_empty(self):
     self.assertEqual(conf.get_unexpanded_list({}), ())
예제 #4
0
 def test_get_unexpanded_list_empty(self):
     self.assertEqual(conf.get_unexpanded_list({}), ())