From 3214bd30a4c21c0610565244f65c51e87149d2bf Mon Sep 17 00:00:00 2001 From: Luiz Oliveira Date: Thu, 5 Nov 2015 14:16:18 -0200 Subject: [PATCH] Fixed tests with templatetags --- colab/search/tests/test_templatetags.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/colab/search/tests/test_templatetags.py b/colab/search/tests/test_templatetags.py index 4cfa6f9..ec1fb45 100644 --- a/colab/search/tests/test_templatetags.py +++ b/colab/search/tests/test_templatetags.py @@ -18,17 +18,17 @@ class SearchTemplateTagsTest(TestCase): def test_get_search_preview_templates_with_user(self): self.set_mock_value("user") include_path = get_search_preview_templates(self.model_indexed_mock) - self.assertEqual(include_path, self.template_path.format("accounts", + self.assertEqual(include_path, self.template_path.format("search", "user")) def test_get_search_preview_templates_with_thread(self): self.set_mock_value("thread") include_path = get_search_preview_templates(self.model_indexed_mock) self.assertEqual(include_path, - self.template_path.format("superarchives", "thread")) + self.template_path.format("search", "thread")) def test_get_search_preview_templates_with_plugin(self): self.set_mock_value("plugin_model") include_path = get_search_preview_templates(self.model_indexed_mock) - self.assertEqual(include_path, self.template_path.format("plugin", - "model")) + self.assertEqual(include_path, + self.template_path.format("search", "plugin_model")) -- libgit2 0.21.2