From f0fdab3b42384f9513a8ee4fba9846024be65e6b Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Tue, 8 Nov 2011 14:07:17 +0530 Subject: [PATCH] Added group sort test --- hyde/tests/ext/test_grouper.py | 95 +++++++++++++++++++++++++++++++++- hyde/tests/test_plugin.py | 2 +- 2 files changed, 95 insertions(+), 2 deletions(-) diff --git a/hyde/tests/ext/test_grouper.py b/hyde/tests/ext/test_grouper.py index 72dbf1a..5aeba0a 100644 --- a/hyde/tests/ext/test_grouper.py +++ b/hyde/tests/ext/test_grouper.py @@ -50,7 +50,6 @@ class TestGrouperSingleLevel(object): name: plugins description: Plugins - """ self.s.config = Config(TEST_SITE, config_dict=yaml.load(cfg)) self.s.load() @@ -176,6 +175,7 @@ class TestGrouperSingleLevel(object): index += 1 def test_nav_with_grouper(self): + text =""" {% for group, resources in site.content.walk_section_groups() %}