dcramer/django-sentry — Issue #260: Tests failing out of box
Author: aehlke
Created: 2011-10-28 22:53:16+00:00
State: open

The tests for Sentry are failing out of box. I'm running them with "setup.py test", and the output is below. I'm interested in contributing some things to the project, but I can't really get started until I get around this issue. I looked into some of the failures but couldn't make sense of it, so I'd appreciate your help, thanks!

```
(env)Alexs-MacBook-Air% python setup.py test
running test
running egg_info
writing requirements to django_sentry.egg-info/requires.txt
writing django_sentry.egg-info/PKG-INFO
writing top-level names to django_sentry.egg-info/top_level.txt
writing dependency_links to django_sentry.egg-info/dependency_links.txt
writing entry points to django_sentry.egg-info/entry_points.txt
writing requirements to django_sentry.egg-info/requires.txt
writing django_sentry.egg-info/PKG-INFO
writing top-level names to django_sentry.egg-info/top_level.txt
writing dependency_links to django_sentry.egg-info/dependency_links.txt
writing entry points to django_sentry.egg-info/entry_points.txt
reading manifest file 'django_sentry.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'distribute_setup.py'
warning: no previously-included files matching '*~' found anywhere in distribution
writing manifest file 'django_sentry.egg-info/SOURCES.txt'
running build_ext
nosetests --verbosity 1 tests
Creating test database 'default'...
Destroying old test database...
Creating test database...
Syncing...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_admin_log
Creating table django_session
Creating table django_site
Creating table django_content_type
Creating table tests_testmodel
Creating table tests_duplicatekeymodel
Creating table south_migrationhistory
Creating table celery_taskmeta
Creating table celery_tasksetmeta
Creating table djcelery_intervalschedule
Creating table djcelery_crontabschedule
Creating table djcelery_periodictasks
Creating table djcelery_periodictask
Creating table djcelery_workerstate
Creating table djcelery_taskstate
Installing index for auth.Permission model
Installing index for auth.Group_permissions model
Installing index for auth.User_user_permissions model
Installing index for auth.User_groups model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for djcelery.PeriodicTask model
Installing index for djcelery.WorkerState model
Installing index for djcelery.TaskState model
Migrating...
Running migrations for sentry:
- Migrating forwards to 0014_auto.
> sentry:0001_initial
> sentry:0002_auto__del_field_groupedmessage_url__chg_field_groupedmessage_view__chg
> sentry:0003_auto__add_field_message_group__del_field_groupedmessage_server_name
> sentry:0004_auto__add_filtervalue__add_unique_filtervalue_key_value
> sentry:0005_auto
> sentry:0006_auto
> sentry:0007_auto__add_field_message_site
> sentry:0008_auto__chg_field_message_view__add_field_groupedmessage_data__chg_field
> sentry:0009_auto__add_field_message_message_id
> sentry:0010_auto__add_messageindex__add_unique_messageindex_column_value_object_id
> sentry:0011_auto__add_field_groupedmessage_score
> sentry:0012_auto
> sentry:0013_auto__add_messagecountbyminute__add_unique_messagecountbyminute_group_
> sentry:0014_auto
- Loading initial data for sentry.
No fixtures found.
Running migrations for sentry_redmine:
- Migrating forwards to 0001_initial.
> sentry_redmine:0001_initial
- Loading initial data for sentry_redmine.
No fixtures found.

Synced:
> django.contrib.auth
> django.contrib.admin
> django.contrib.sessions
> django.contrib.sites
> django.contrib.contenttypes
> sentry.client
> sentry.plugins.sentry_servers
> sentry.plugins.sentry_sites
> sentry.plugins.sentry_urls
> tests
> south
> djcelery
> sentry.client.celery

Migrated:
- sentry
- sentry.plugins.sentry_redmine
No fixtures found.
.....view exception
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 13, in raise_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
..............[28/Oct/2011 18:49:33] "POST /store/ HTTP/1.1" 200 0
.[28/Oct/2011 18:49:34] "POST /store/ HTTP/1.1" 200 0
.Bad data received
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/sentry/web/views.py", line 544, in store
data = base64.b64decode(data).decode('zlib')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/base64.py", line 76, in b64decode
raise TypeError(msg)
TypeError: Incorrect padding
Bad data received
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/sentry/web/views.py", line 544, in store
data = base64.b64decode(data).decode('zlib')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/base64.py", line 76, in b64decode
raise TypeError(msg)
TypeError: Incorrect padding
.() takes no arguments (3 given)
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/sentry/client/base.py", line 43, in _wrapped
return func(*args, **kwargs)
File "/Users/alexehlke/src/django-sentry/sentry/client/base.py", line 61, in check_throttle
added = cache.add(cache_key, 1, settings.THRASHING_TIMEOUT)
TypeError: () takes no arguments (3 given)
() takes no arguments (3 given)
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/sentry/client/base.py", line 43, in _wrapped
return func(*args, **kwargs)
File "/Users/alexehlke/src/django-sentry/sentry/client/base.py", line 61, in check_throttle
added = cache.add(cache_key, 1, settings.THRASHING_TIMEOUT)
TypeError: () takes no arguments (3 given)
................................view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
...view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
...........view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
view exception
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/views.py", line 24, in logging_request_exc
raise Exception(request.GET.get('message', 'view exception'))
Exception: view exception
.......EE.EEE
======================================================================
ERROR: test_auth (tests.tests.SentryViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/tests.py", line 968, in test_auth
resp = self.client.get(reverse('sentry'), follow=True)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/test/client.py", line 305, in get
response = self.request(**r)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/alexehlke/src/django-sentry/sentry/web/views.py", line 99, in wrapped
if not settings.PUBLIC:
AttributeError: 'module' object has no attribute 'PUBLIC'

======================================================================
ERROR: test_dashboard (tests.tests.SentryViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/tests.py", line 999, in test_dashboard
resp = self.client.get(reverse('sentry') + '?sort=freq', follow=True)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/test/client.py", line 305, in get
response = self.request(**r)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/alexehlke/src/django-sentry/sentry/web/views.py", line 99, in wrapped
if not settings.PUBLIC:
AttributeError: 'module' object has no attribute 'PUBLIC'

======================================================================
ERROR: test_group_details (tests.tests.SentryViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/tests.py", line 1009, in test_group_details
resp = self.client.get(reverse('sentry-group', args=[2]), follow=True)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/test/client.py", line 305, in get
response = self.request(**r)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/alexehlke/src/django-sentry/sentry/web/views.py", line 99, in wrapped
if not settings.PUBLIC:
AttributeError: 'module' object has no attribute 'PUBLIC'

======================================================================
ERROR: test_group_message_details (tests.tests.SentryViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/tests.py", line 1027, in test_group_message_details
resp = self.client.get(reverse('sentry-group-message', args=[2, 4]), follow=True)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/test/client.py", line 305, in get
response = self.request(**r)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/alexehlke/src/django-sentry/sentry/web/views.py", line 99, in wrapped
if not settings.PUBLIC:
AttributeError: 'module' object has no attribute 'PUBLIC'

======================================================================
ERROR: test_group_message_list (tests.tests.SentryViewsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/alexehlke/src/django-sentry/tests/tests.py", line 1018, in test_group_message_list
resp = self.client.get(reverse('sentry-group-messages', args=[2]), follow=True)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/test/client.py", line 305, in get
response = self.request(**r)
File "/Library/Python/2.7/site-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/alexehlke/src/django-sentry/sentry/web/views.py", line 99, in wrapped
if not settings.PUBLIC:
AttributeError: 'module' object has no attribute 'PUBLIC'

----------------------------------------------------------------------
Ran 81 tests in 11.073s

FAILED (errors=5)
Destroying test database 'default'...
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/util.py", line 258, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/util.py", line 258, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
(env)Alexs-MacBook-Air%
```