Ticket #15032: transcript.txt

File transcript.txt, 3.4 KB (added by rene, 14 years ago)

Transscript of run of unit-test

Line 
1Macintosh:Dtest renevanhoek$ python ./manage.py test t15032
2Creating test database 'default'...
3Creating table auth_permission
4Creating table auth_group_permissions
5Creating table auth_group
6Creating table auth_user_user_permissions
7Creating table auth_user_groups
8Creating table auth_user
9Creating table auth_message
10Creating table django_content_type
11Creating table django_session
12Creating table django_site
13Creating table django_admin_log
14Creating table t15032_person
15Creating table t15032_employee
16Creating table t15032_workhour
17Installing index for auth.Permission model
18Installing index for auth.Group_permissions model
19Installing index for auth.User_user_permissions model
20Installing index for auth.User_groups model
21Installing index for auth.Message model
22Installing index for admin.LogEntry model
23Installing index for t15032.WorkHour model
24No fixtures found.
25E
26======================================================================
27ERROR: testFilterSubclassed (t15032.tests.SubclassedAdminFilterTestCase)
28----------------------------------------------------------------------
29Traceback (most recent call last):
30 File "/Users/renevanhoek/Documents/workspace/Dtest/t15032/tests.py", line 32, in testFilterSubclassed
31 response = self.client.get("/admin/t15032/workhour/?employee__person_ptr__exact=%d" % e1.pk)
32 File "/Users/renevanhoek/Documents/workspace/Dtest/django/test/client.py", line 298, in get
33 response = self.request(**r)
34 File "/Users/renevanhoek/Documents/workspace/Dtest/django/core/handlers/base.py", line 100, in get_response
35 response = callback(request, *callback_args, **callback_kwargs)
36 File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/options.py", line 265, in wrapper
37 return self.admin_site.admin_view(view)(*args, **kwargs)
38 File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 76, in _wrapped_view
39 response = view_func(request, *args, **kwargs)
40 File "/Users/renevanhoek/Documents/workspace/Dtest/django/views/decorators/cache.py", line 78, in _wrapped_view_func
41 response = view_func(request, *args, **kwargs)
42 File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/sites.py", line 190, in inner
43 return view(request, *args, **kwargs)
44 File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 21, in _wrapper
45 return decorator(bound_func)(*args, **kwargs)
46 File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 76, in _wrapped_view
47 response = view_func(request, *args, **kwargs)
48 File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 17, in bound_func
49 return func(self, *args2, **kwargs2)
50 File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/options.py", line 994, in changelist_view
51 self.date_hierarchy, self.search_fields, self.list_select_related, self.list_per_page, self.list_editable, self)
52 File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/views/main.py", line 64, in __init__
53 self.query_set = self.get_query_set()
54 File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/views/main.py", line 193, in get_query_set
55 "Filtering by %s not allowed" % key
56SuspiciousOperation: Filtering by employee__person_ptr__exact not allowed
57
58----------------------------------------------------------------------
59Ran 1 test in 0.206s
60
61FAILED (errors=1)
62Destroying test database 'default'...
63Macintosh:Dtest renevanhoek$
Back to Top