OK, I think I'm making some progress on this.
I've purged all the satchmo versions from my system (including an old
Satchmo 0.8.1, which I think might have been causing problems).
After reinstalling the dependencies and satcho as listed in the 0.9.1
docs, satchmo_check reports no errors, however manage.py test is still
reporting problems as shown below, do I need to worry about these
failures?
Cheers,
Jim
.................................................................................................EF....................................................................................................................................................................F..F.F.......
======================================================================
ERROR: test_activation_view (registration.tests.RegistrationViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/registration/tests.py",
line 301, in test_activation_view
kwargs={ 'activation_key':
RegistrationProfile.objects.get(user=self.sample_user).activation_key
}))
File
"/usr/local/combatcardshop/lib/python2.6/site-packages/django/test/client.py",
line 298, in get
response = self.request(**r)
File
"/usr/local/combatcardshop/lib/python2.6/site-packages/django/core/handlers/base.py",
line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File
"/usr/local/combatcardshop/src/satchmo/satchmo/apps/satchmo_store/accounts/views.py",
line 239, in activate
contact = Contact.objects.get(user=account)
File
"/usr/local/combatcardshop/lib/python2.6/site-packages/django/db/models/manager.py",
line 132, in get
return self.get_query_set().get(*args, **kwargs)
File
"/usr/local/combatcardshop/lib/python2.6/site-packages/django/db/models/query.py",
line 347, 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/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 276 tests in 192.052s
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].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.