# Description: Remove auto-verified URLFields from (non-preview) tests.
# Author: Bernhard Reiter <ockham@raz.or.at>
# Forwarded: not-needed
# Bug-Debian: http://bugs.debian.org/614535

--- a/threadedcomments/tests/views_tests.py
+++ b/threadedcomments/tests/views_tests.py
@@ -34,13 +34,12 @@
         response = self.client.post(url, {
             'comment': 'test1',
             'name': 'eric',
-            'website': 'http://www.eflorenzano.com/',
             'email': 'floguy@gmail.com',
             'next': '/'
         })
         o = FreeThreadedComment.objects.latest('date_submitted').get_base_data(show_dates=False)
         self.assertEquals(o, {
-            'website': u'http://www.eflorenzano.com/',
+            'website': u'',
             'comment': u'test1',
             'name': u'eric',
             'parent': None,
@@ -108,13 +107,12 @@
         response = self.client.post(url, {
             'comment': 'test2',
             'name': 'eric',
-            'website': 'http://www.eflorenzano.com/',
             'email': 'floguy@gmail.com'
         })
         tmp = loads(response.content)
         o = FreeThreadedComment.objects.latest('date_submitted').get_base_data(show_dates=False)
         self.assertEquals(o, {
-            'website': u'http://www.eflorenzano.com/',
+            'website': u'',
             'comment': u'test2',
             'name': u'eric',
             'parent': None,
@@ -159,11 +157,11 @@
             'ajax': 'xml'
         })
         
-        response = self.client.post(url, {'comment' : 'test3', 'name' : 'eric', 'website' : 'http://www.eflorenzano.com/', 'email' : 'floguy@gmail.com', 'next' : '/'})
+        response = self.client.post(url, {'comment' : 'test3', 'name' : 'eric', 'email' : 'floguy@gmail.com', 'next' : '/'})
         tmp = parseString(response.content)
         o = FreeThreadedComment.objects.latest('date_submitted').get_base_data(show_dates=False)
         self.assertEquals(o, {
-            'website': u'http://www.eflorenzano.com/',
+            'website': u'',
             'comment': u'test3',
             'name': u'eric',
             'parent': None,
@@ -215,13 +213,12 @@
         response = self.client.post(url, {
             'comment': 'test4',
             'name': 'eric',
-            'website': 'http://www.eflorenzano.com/',
             'email': 'floguy@gmail.com',
             'next' : '/'
         })
         o = FreeThreadedComment.objects.latest('date_submitted').get_base_data(show_dates=False)
         self.assertEquals(o, {
-            'website': u'http://www.eflorenzano.com/',
+            'website': u'',
             'comment': u'test4',
             'name': u'eric',
             'parent': parent,
@@ -253,13 +250,12 @@
         response = self.client.post(url, {
             'comment': 'test5',
             'name': 'eric',
-            'website': 'http://www.eflorenzano.com/',
             'email': 'floguy@gmail.com'
         })
         tmp = loads(response.content)
         o = FreeThreadedComment.objects.latest('date_submitted').get_base_data(show_dates=False)
         self.assertEquals(o, {
-            'website': u'http://www.eflorenzano.com/',
+            'website': u'',
             'comment': u'test5',
             'name': u'eric',
             'parent': parent,
@@ -290,13 +286,12 @@
         
         response = self.client.post(url, {
             'comment': 'test6', 'name': 'eric',
-            'website': 'http://www.eflorenzano.com/',
             'email': 'floguy@gmail.com'
         })
         tmp = parseString(response.content)
         o = FreeThreadedComment.objects.latest('date_submitted').get_base_data(show_dates=False)
         self.assertEquals(o, {
-            'website': u'http://www.eflorenzano.com/',
+            'website': u'',
             'comment': u'test6',
             'name': u'eric',
             'parent': parent,
@@ -839,4 +834,4 @@
         self.assertEquals(len(response.content) > 0, True)
         
         o = ThreadedComment.objects.get(id=deleted_id) != None
-        self.assertEquals(o, True)
\ No newline at end of file
+        self.assertEquals(o, True)
