Unit test ERROR: test_activation_view on clean install

Issue #1143 invalid
Tom Aratyn created an issue

I just installed satchmo 0.9 using the {{{clonesatchmo.py}}} script. When I ran {{{python manage.py test}}} I got:


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/lib/python2.6/dist-packages/django/test/client.py", line 281, in get
response = self.request(r)
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args,
File "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9_0-py2.6.egg/satchmo_store/accounts/views.py", line 204, in activate
contact = Contact.objects.get(user=account)
File "/usr/local/lib/python2.6/dist-packages/django/db/models/manager.py", line 120, in get
return self.get_query_set().get(args, *kwargs)
File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 305, in get
% self.model._meta.object_name)
DoesNotExist: Contact matching query does not exist.


I'm not sure if this is a bug in the unit test or with the component.

Comments (1)

  1. Log in to comment