Skip to content

Commit

Permalink
Removed test for debug_ipn since it no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Sureiya committed Nov 12, 2013
1 parent 1dd8062 commit 618ed71
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions django_clickbank/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@
@override_settings(CLICKBANK_SECRET_KEY=SECRET_KEY)
class ViewTest(TestCase):

def test_debug_ipn(self):
client = Client()
for post in TEST_POSTS:
response = client.post(reverse('clickbank.debug.ipn_data'), post)
self.assertEqual(response.status_code, 200)
post = Post.objects.get(pk=int(response.content))
self.assertIsInstance(post, Post)
self.assertNotEqual(post.post_data, '')
self.assertNotEqual(post.post_data, None)

def test_ipn(self):
client = Client()
import copy
Expand Down

0 comments on commit 618ed71

Please sign in to comment.