Unit Test Output
1
C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\db\__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead.
2
  DeprecationWarning
3
C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\db\__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.'
4
  DeprecationWarning
5
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
6
Testing DateTimeSinceColumn ... ok
7
Testing datagrids with custom column orders ... C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\template\loaders\filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead.
8
  DeprecationWarning
9
C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\template\loaders\app_directories.py:71: DeprecationWarning: 'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead.
10
  DeprecationWarning
11
ok
12
Testing basic datagrid rendering ... ok
13
Testing rendering datagrid to HTTPResponse ... ok
14
Testing datagrids with ascending sort ... ok
15
Testing datagrids with descending sort ... ok
16
Testing view_feed with a URL error ... ok
17
Testing view_feed with the feed-inline.html template ... ERROR
18
Testing view_feed with the feed-page.html template ... ERROR
19
Testing creation of WatchedFileHandler. ... ok
20
Testing mail authentication settings deserialization ... ok
21
Testing synchronizing SiteConfigurations through cache ... ok
22
Testing synchronizing SiteConfigurations with an expired cache ... ok
23
Testing ageid tag (yesterday) ... ok
24
Testing ageid tag (two days ago) ... ok
25
Testing ageid tag (three days ago) ... ok
26
Testing ageid tag (four days ago) ... ok
27
Testing ageid tag (non-datetime object) ... ok
28
Testing ageid tag (now) ... ok
29
Testing box tag (with extra class) ... ok
30
Testing box tag (invalid usage) ... ok
31
Testing box tag ... ok
32
Testing cache_memoize ... ok
33
Testing condense tag ... ok
34
Testing errorbox tag (invalid usage) ... ok
35
Testing errorbox tag (with id) ... ok
36
Testing errorbox tag ... ok
37
Testing djblets.http.get_requested_mimetype with no consensus between client and server ... ok
38
Testing djblets.http.get_requested_mimetype with supported mimetype ... ok
39
Testing djblets.http.get_requested_mimetype with unsupported mimetype ... ok
40
Testing djblets.http.get_requested_mimetype with supported */* mimetype ... ok
41
Testing djblets.http.get_http_accept_lists ... ok
42
Testing quote_text filter (level 2) ... ok
43
Testing quote_text filter (default level) ... ok
44
Testing quoted_email tag (invalid usage) ... ok
45
Testing escapespaces filter ... ok
46
Testing humanize_list filter (length 0) ... ok
47
Testing humanize_list filter (length 1) ... ok
48
Testing humanize_list filter (length 2) ... ok
49
Testing humanize_list filter (length 3) ... ok
50
Testing humanize_list filter (length 4) ... ok
51
Testing indent filter ... ok
52
53
======================================================================
54
ERROR: Testing view_feed with the feed-inline.html template
55
----------------------------------------------------------------------
56
Traceback (most recent call last):
57
  File "C:\src\djblets\djblets\feedview\tests.py", line 40, in testViewFeedInline
58
    response = self.client.get('/feed-inline/')
59
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\test\client.py", line 445, in get
60
    response = super(Client, self).get(path, data=data, **extra)
61
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\test\client.py", line 229, in get
62
    return self.request(**r)
63
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\core\handlers\base.py", line 111, in get_response
64
    response = callback(request, *callback_args, **callback_kwargs)
65
  File "C:\src\djblets\djblets\feedview\views.py", line 38, in view_feed
66
    force_overwrite=request.GET.has_key("reload")))
67
  File "C:\src\djblets\djblets\util\misc.py", line 173, in cache_memoize
68
    data = lookup_callable()
69
  File "C:\src\djblets\djblets\feedview\views.py", line 23, in fetch_feed
70
    data = urllib2.urlopen(url).read()
71
  File "C:\Python25\lib\urllib2.py", line 124, in urlopen
72
    return _opener.open(url, data)
73
  File "C:\Python25\lib\urllib2.py", line 381, in open
74
    response = self._open(req, data)
75
  File "C:\Python25\lib\urllib2.py", line 399, in _open
76
    '_open', req)
77
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
78
    result = func(*args)
79
  File "C:\Python25\lib\urllib2.py", line 1203, in file_open
80
    return self.open_local_file(req)
81
  File "C:\Python25\lib\urllib2.py", line 1223, in open_local_file
82
    stats = os.stat(localfile)
83
WindowsError: [Error 3] The system cannot find the path specified: '\\testdata\\sample.rss'
84
-------------------- >> begin captured logging << --------------------
85
django.request: ERROR: Internal Server Error: /feed-inline/
86
Traceback (most recent call last):
87
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\core\handlers\base.py", line 111, in get_response
88
    response = callback(request, *callback_args, **callback_kwargs)
89
  File "C:\src\djblets\djblets\feedview\views.py", line 38, in view_feed
90
    force_overwrite=request.GET.has_key("reload")))
91
  File "C:\src\djblets\djblets\util\misc.py", line 173, in cache_memoize
92
    data = lookup_callable()
93
  File "C:\src\djblets\djblets\feedview\views.py", line 23, in fetch_feed
94
    data = urllib2.urlopen(url).read()
95
  File "C:\Python25\lib\urllib2.py", line 124, in urlopen
96
    return _opener.open(url, data)
97
  File "C:\Python25\lib\urllib2.py", line 381, in open
98
    response = self._open(req, data)
99
  File "C:\Python25\lib\urllib2.py", line 399, in _open
100
    '_open', req)
101
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
102
    result = func(*args)
103
  File "C:\Python25\lib\urllib2.py", line 1203, in file_open
104
    return self.open_local_file(req)
105
  File "C:\Python25\lib\urllib2.py", line 1223, in open_local_file
106
    stats = os.stat(localfile)
107
WindowsError: [Error 3] The system cannot find the path specified: '\\testdata\\sample.rss'
108
--------------------- >> end captured logging << ---------------------
109
110
======================================================================
111
ERROR: Testing view_feed with the feed-page.html template
112
----------------------------------------------------------------------
113
Traceback (most recent call last):
114
  File "C:\src\djblets\djblets\feedview\tests.py", line 34, in testViewFeedPage
115
    response = self.client.get('/feed/')
116
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\test\client.py", line 445, in get
117
    response = super(Client, self).get(path, data=data, **extra)
118
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\test\client.py", line 229, in get
119
    return self.request(**r)
120
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\core\handlers\base.py", line 111, in get_response
121
    response = callback(request, *callback_args, **callback_kwargs)
122
  File "C:\src\djblets\djblets\feedview\views.py", line 38, in view_feed
123
    force_overwrite=request.GET.has_key("reload")))
124
  File "C:\src\djblets\djblets\util\misc.py", line 173, in cache_memoize
125
    data = lookup_callable()
126
  File "C:\src\djblets\djblets\feedview\views.py", line 23, in fetch_feed
127
    data = urllib2.urlopen(url).read()
128
  File "C:\Python25\lib\urllib2.py", line 124, in urlopen
129
    return _opener.open(url, data)
130
  File "C:\Python25\lib\urllib2.py", line 381, in open
131
    response = self._open(req, data)
132
  File "C:\Python25\lib\urllib2.py", line 399, in _open
133
    '_open', req)
134
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
135
    result = func(*args)
136
  File "C:\Python25\lib\urllib2.py", line 1203, in file_open
137
    return self.open_local_file(req)
138
  File "C:\Python25\lib\urllib2.py", line 1223, in open_local_file
139
    stats = os.stat(localfile)
140
WindowsError: [Error 3] The system cannot find the path specified: '\\testdata\\sample.rss'
141
-------------------- >> begin captured logging << --------------------
142
django.request: ERROR: Internal Server Error: /feed/
143
Traceback (most recent call last):
144
  File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\core\handlers\base.py", line 111, in get_response
145
    response = callback(request, *callback_args, **callback_kwargs)
146
  File "C:\src\djblets\djblets\feedview\views.py", line 38, in view_feed
147
    force_overwrite=request.GET.has_key("reload")))
148
  File "C:\src\djblets\djblets\util\misc.py", line 173, in cache_memoize
149
    data = lookup_callable()
150
  File "C:\src\djblets\djblets\feedview\views.py", line 23,['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'djblets.auth', 'djblets.datagrid', 'djblets.feedview', 'djblets.gravatars', 'djblets.log', 'djblets.siteconfig', 'djblets.testing', 'djblets.util', 'djblets.webapi']
151
Creating test database for alias 'default'...
152
Creating tables ...
153
Installing custom SQL ...
154
Installing indexes ...
155
No fixtures found.
156
 in fetch_feed
157
    data = urllib2.urlopen(url).read()
158
  File "C:\Python25\lib\urllib2.py", line 124, in urlopen
159
    return _opener.open(url, data)
160
  File "C:\Python25\lib\urllib2.py", line 381, in open
161
    response = self._open(req, data)
162
  File "C:\Python25\lib\urllib2.py", line 399, in _open
163
    '_open', req)
164
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
165
    result = func(*args)
166
  File "C:\Python25\lib\urllib2.py", line 1203, in file_open
167
    return self.open_local_file(req)
168
  File "C:\Python25\lib\urllib2.py", line 1223, in open_local_file
169
    stats = os.stat(localfile)
170
WindowsError: [Error 3] The system cannot find the path specified: '\\testdata\\sample.rss'
171
--------------------- >> end captured logging << ---------------------
172
173
----------------------------------------------------------------------
174
Ran 42 tests in 4.465s
175
176
FAILED (errors=2)
Loading...