Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/d/j/django-clickbank-0.2.8/django_clickbank/tests/test_views.py   django-clickbank(Download)
from django.core.urlresolvers import reverse
from django.test import TestCase, Client
from django.test.utils import override_settings
from django_clickbank.models import Post, Notification
from django_clickbank.tests.posts import TEST_POSTS, SECRET_KEY
		test_posts = copy.deepcopy(TEST_POSTS)
		for i in range(0, 25):
			test_posts.append(generate_post(SECRET_KEY))
 
		for post in test_posts:

src/d/j/django-clickbank-0.2.8/django_clickbank/tests/test_helpers.py   django-clickbank(Download)
from django.test import TestCase
from django_clickbank.tests.posts import TEST_POSTS, SECRET_KEY
from django_clickbank import settings
from django_clickbank.util.helpers import remap_post
from django_clickbank.util.helpers import generate_post
 
 
class HelperTest(TestCase):
	def setUp(self):
		settings.CLICKBANK_SECRET_KEY = SECRET_KEY
 
		for i in range(0, 25):
			test_posts.append(generate_post(SECRET_KEY))
 
		for post in TEST_POSTS: