diff options
author | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-08-20 09:13:04 -0600 |
---|---|---|
committer | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-08-20 09:13:04 -0600 |
commit | a556569dbb2ed8d23afeada43528388986140814 (patch) | |
tree | 99f24bc2a7d5cc9df50bde0f1404a2bd1949b876 | |
parent | 46454a018f203b8f89349b24898e6626c548fadc (diff) | |
download | askbot-a556569dbb2ed8d23afeada43528388986140814.tar.gz askbot-a556569dbb2ed8d23afeada43528388986140814.tar.bz2 askbot-a556569dbb2ed8d23afeada43528388986140814.zip |
fixed test case with url that does not exists anymore
-rw-r--r-- | askbot/tests/page_load_tests.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/askbot/tests/page_load_tests.py b/askbot/tests/page_load_tests.py index e3e699a7..7d833339 100644 --- a/askbot/tests/page_load_tests.py +++ b/askbot/tests/page_load_tests.py @@ -69,7 +69,7 @@ class PageLoadTestCase(AskbotTestCase): self.old_cache = cache.cache #Disable caching (to not interfere with production cache, #not sure if that's possible but let's not risk it) - cache.cache = DummyCache('', {}) + cache.cache = DummyCache('', {}) def tearDown(self): cache.cache = self.old_cache # Restore caching @@ -311,12 +311,12 @@ class PageLoadTestCase(AskbotTestCase): status_code=status_code, template='users.html' ) - self.try_url( - 'widget_questions', - status_code = status_code, - data={'tags': 'tag-1-0'}, - template='question_widget.html', - ) + #self.try_url( + # 'widget_questions', + # status_code = status_code, + # data={'tags': 'tag-1-0'}, + # template='question_widget.html', + # ) #todo: really odd naming conventions for sort methods self.try_url( 'users', @@ -626,4 +626,4 @@ class CommandViewTests(AskbotTestCase): tag1 = self.create_tag('tag1') response = self.client.get(reverse('load_tag_wiki_text')) self.assertEqual(response.status_code, 400)#bad request - + |