Exactly the same errors here, using satchmo tip.

On Aug 3, 2:58 am, Chris Moffitt <[email protected]> wrote:
> I have made some minor changes to the templates in satchmo tip that allow
> the tests to run clean.
>
> Also, if you have the registration app installed, you need to make sure the
> registration urls are included in your urls.py file. For instance, add this
> in your urls.py file for your store:
>
> from django.conf.urls.defaults import *
>
> from satchmo_store.urls import urlpatterns
>
> urlpatterns += patterns('',
>     url(r'^reg/', include('registration.urls')),
> )
>
> Finally, if you're getting errors with sorl, that normally means your PIL
> isn't installed correctly.
>
> -Chris
>
> On Mon, Aug 2, 2010 at 11:59 AM, krnel <[email protected]> wrote:
> > $ python manage.py test
>
> > Installing index for app_plugins.Plugin model
> > Installing index for app_plugins.UserPluginPreference model
> > Installing yaml fixture 'initial_data' from '/usr/local/lib/python2.6/
> > dist-packages/Satchmo-0.9_1-py2.6.egg/satchmo_store/shop/fixtures'.
> > Installing yaml fixture 'initial_data' from '/usr/local/lib/python2.6/
> > dist-packages/Satchmo-0.9_1-py2.6.egg/satchmo_store/contact/fixtures'.
> > Installing yaml fixture 'initial_data' from '/usr/local/lib/python2.6/
> > dist-packages/Satchmo-0.9_1-py2.6.egg/product/fixtures'.
> > Installed 16 object(s) from 3 fixture(s)
>
> > ...................................................................................................EF...........................................................................................................................F..F.F.......
> > ======================================================================
> > ERROR: test_activation_view (registration.tests.RegistrationViewTests)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >  File "/usr/local/lib/python2.6/dist-packages/django_registration-0.7-
> > py2.6.egg/registration/tests.py", line 301, in test_activation_view
> >    kwargs={ 'activation_key':
> > RegistrationProfile.objects.get(user=self.sample_user).activation_key }))
> >  File "/usr/local/lib/python2.6/dist-packages/django/test/client.py",
> > line 290, in get
> >    response = self.request(**r)
> >  File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
> > base.py", line 100, in get_response
> >    response = callback(request, *callback_args, **callback_kwargs)
> >  File "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9_1-py2.6.egg/
> > satchmo_store/accounts/views.py", line 218, in activate
> >    contact = Contact.objects.get(user=account)
> >  File "/usr/local/lib/python2.6/dist-packages/django/db/models/
> > manager.py", line 132, in get
> >    return self.get_query_set().get(*args, **kwargs)
> >  File "/usr/local/lib/python2.6/dist-packages/django/db/models/
> > query.py", line 341, in get
> >    % self.model._meta.object_name)
> > DoesNotExist: Contact matching query does not exist.
>
> > ======================================================================
> > FAIL: test_registration_view
> > (registration.tests.RegistrationViewTests)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >  File "/usr/local/lib/python2.6/dist-packages/django_registration-0.7-
> > py2.6.egg/registration/tests.py", line 289, in test_registration_view
> >    self.assertEqual(response.status_code, 302)
> > AssertionError: 200 != 302
>
> > ======================================================================
> > FAIL: test_extension (sorl.thumbnail.tests.fields.FieldTest)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >  File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/
> > fields.py", line 66, in test_extension
> >    self.verify_thumbnail((50, 37), thumb, expected_filename)
> >  File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/
> > base.py", line 92, in verify_thumbnail
> >    self.assertEqual(image.size, expected_size)
> > AssertionError: (50, 38) != (50, 37)
>
> > ======================================================================
> > FAIL: test_thumbnail
> > (sorl.thumbnail.tests.fields.ImageWithThumbnailsFieldTest)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >  File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/
> > fields.py", line 111, in test_thumbnail
> >    self.verify_thumbnail((50, 37), thumb, expected_filename)
> >  File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/
> > base.py", line 92, in verify_thumbnail
> >    self.assertEqual(image.size, expected_size)
> > AssertionError: (50, 38) != (50, 37)
>
> > ======================================================================
> > FAIL: testTag (sorl.thumbnail.tests.templatetags.ThumbnailTagTest)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >  File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/
> > templatetags.py", line 118, in testTag
> >    self.verify_thumbnail((90, 67), expected_filename=expected_fn)
> >  File "/usr/local/lib/python2.6/dist-packages/sorl/thumbnail/tests/
> > base.py", line 92, in verify_thumbnail
> >    self.assertEqual(image.size, expected_size)
> > AssertionError: (90, 68) != (90, 67)
>
> > ----------------------------------------------------------------------
> > Ran 237 tests in 267.787s
>
> > FAILED (failures=4, errors=1)
> > Destroying test database 'default'...
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Satchmo users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<satchmo-users%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/satchmo-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to