Permalink
Browse files

Removed seemingly-vestigal tests/test_form.py

  • Loading branch information...
1 parent a7bff18 commit ba2974414427a3b3c8289706993a4b0e60217b45 @winhamwr committed Mar 14, 2011
Showing with 0 additions and 32 deletions.
  1. +0 −32 idios/tests/test_form.py
View
@@ -1,32 +0,0 @@
-# coding: utf-8
-from django.core.urlresolvers import reverse
-from django.test import TestCase
-
-from django.contrib.auth.models import User
-
-from idios.forms import ProfileForm
-from idios.models import Profile
-
-
-class TestProfileForm(TestCase):
-
- fixtures = ["test_idios.json"]
-
- def setUp(self):
- self.user = User.objects.get(username="bob")
- self.profile = Profile.objects.get(user=self.user)
-
- def tearDown(self):
- pass
-
- def test_profile_form(self):
- form = ProfileForm(instance=self.profile)
- # include a bad url to force an error
- data = {
- "name": "John Smith",
- "about": "John likes wine",
- "location": "France maybe!",
- "website": "httpasd://python.org"
- }
- form = ProfileForm(data)
- self.assertEqual(False, form.is_valid())

0 comments on commit ba29744

Please sign in to comment.