Beispiel #1
0
 def test_returning_proper_dir(self):
     self.assert_equals(abspath(join(dirname(__file__), pardir, pardir, pardir, 'ella', 'core', 'templates')), _get_template_vars("core:template_name")[1])
Beispiel #2
0
 def test_returning_proper_dir(self):
     self.assert_equals(
         abspath(
             join(dirname(__file__), pardir, pardir, pardir, 'ella', 'core',
                  'templates')),
         _get_template_vars("core:template_name")[1])
Beispiel #3
0
 def test_returning_proper_name(self):
     self.assert_equals("template_name", _get_template_vars("core:template_name")[0])
Beispiel #4
0
 def test_returning_proper_name(self):
     self.assert_equals("template_name",
                        _get_template_vars("core:template_name")[0])