Hi All Satchmo '1.0-pre hg-1310:7229348e8c11' Django '1.1.1'
I have installed satchmo as per the instructions at http://bitbucket.org/chris1610/satchmo/wiki/ImprovedInstallationProcess (in a virtualenv), I had to specify the skeleton dir for python clonesatchmo.py, otherwise the install went exactly as the doc. The shop fires up fine with runserver, and seems to work ok, but a few tests fail. I guess these are probably up to their own projects, but has anyone seen/fixed these? Ive asked a few other people to test as well, and they get the same issues. ====================================================================== ERROR: test_activation_view (registration.tests.RegistrationViewTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/satch/lib/python2.6/site-packages/registration/tests.py", line 301, in test_activation_view kwargs={ 'activation_key': RegistrationProfile.objects.get (user=self.sample_user).activation_key })) File "/tmp/satch/lib/python2.6/site-packages/django/test/client.py", line 281, in get response = self.request (**r) File "/tmp/satch/lib/python2.6/site-packages/django/core/handlers/ base.py", line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/tmp/satch/src/satchmo/satchmo/apps/satchmo_store/accounts/ views.py", line 222, in activate contact = Contact.objects.get (user=account) File "/tmp/satch/lib/python2.6/site-packages/django/db/models/ manager.py", line 120, in get return self.get_query_set().get(*args, **kwargs) File "/tmp/satch/lib/python2.6/site-packages/django/db/models/ query.py", line 305, in get % self.model._meta.object_name) DoesNotExist: Contact matching query does not exist. ====================================================================== FAIL: test_search (satchmo_store.shop.tests.ShopTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/satch/src/satchmo/satchmo/apps/satchmo_store/shop/ tests.py", line 417, in test_search self.assertContains(response, "Django Rocks shirt", count=1) File "/tmp/satch/lib/python2.6/site-packages/django/test/ testcases.py", line 342, in assertContains (real_count, text, count)) AssertionError: Found 10 instances of 'Django Rocks shirt' in response (expected 1) ====================================================================== FAIL: test_registration_view (registration.tests.RegistrationViewTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/satch/lib/python2.6/site-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 "/tmp/satch/src/sorl-thumbnail/sorl/thumbnail/tests/fields.py", line 66, in test_extension self.verify_thumbnail((50, 37), thumb, expected_filename) File "/tmp/satch/src/sorl-thumbnail/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 "/tmp/satch/src/sorl-thumbnail/sorl/thumbnail/tests/fields.py", line 111, in test_thumbnail self.verify_thumbnail((50, 37), thumb, expected_filename) File "/tmp/satch/src/sorl-thumbnail/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 "/tmp/satch/src/sorl-thumbnail/sorl/thumbnail/tests/ templatetags.py", line 118, in testTag self.verify_thumbnail((90, 67), expected_filename=expected_fn) File "/tmp/satch/src/sorl-thumbnail/sorl/thumbnail/tests/base.py", line 92, in verify_thumbnail self.assertEqual(image.size, expected_size) AssertionError: (90, 68) != (90, 67) ---------------------------------------------------------------------- Ran 216 tests in 186.964s FAILED (failures=5, errors=1) Destroying test database...
-- 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.
