From 272669980ce580e00247befe5992d05819a5e42a Mon Sep 17 00:00:00 2001 From: coagulant Date: Sun, 24 Feb 2013 14:26:40 +0400 Subject: [PATCH] Well, it's skipped anyway --- tests/test_functional.py | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tests/test_functional.py b/tests/test_functional.py index 8a03553..3bf3ade 100644 --- a/tests/test_functional.py +++ b/tests/test_functional.py @@ -1,20 +1,20 @@ # coding: utf-8 -from __future__ import unicode_literals -import os -import mock -from django.conf import settings -from nose.plugins.attrib import attr -from nose.tools import nottest -from .utils import render_template - - -@nottest -@attr('functional') -@mock.patch.multiple(settings, TWITTER_OAUTH_TOKEN=os.environ.get('OAUTH_TOKEN'), - TWITTER_OAUTH_SECRET=os.environ.get('OAUTH_SECRET'), - TWITTER_CONSUMER_KEY=os.environ.get('CONSUMER_KEY'), - TWITTER_CONSUMER_SECRET=os.environ.get('CONSUMER_SECRET'), create=True) -def test_func(): - o, c = render_template("""{% search_tweets for "питон" as tweets %}""") - for t in c['tweets']: - assert 'питон' in t['html'].lower() \ No newline at end of file +# from __future__ import unicode_literals +# import os +# import mock +# from django.conf import settings +# from nose.plugins.attrib import attr +# from nose.tools import nottest +# from .utils import render_template +# +# +# @nottest +# @attr('functional') +# @mock.patch.multiple(settings, TWITTER_OAUTH_TOKEN=os.environ.get('OAUTH_TOKEN'), +# TWITTER_OAUTH_SECRET=os.environ.get('OAUTH_SECRET'), +# TWITTER_CONSUMER_KEY=os.environ.get('CONSUMER_KEY'), +# TWITTER_CONSUMER_SECRET=os.environ.get('CONSUMER_SECRET'), create=True) +# def test_func(): +# o, c = render_template("""{% search_tweets for "питон" as tweets %}""") +# for t in c['tweets']: +# assert 'питон' in t['html'].lower() \ No newline at end of file