United test output
1
Running dependency checks (set DEBUG=False to turn this off)...
2
Warning: p4python (>=07.3) not found.  Perforce integration will not work.
3
Warning: hg not found.  Mercurial integration will not work.
4
Warning: bzrlib not found.  Bazaar integration will not work.
5
Warning: PyLucene (with JCC) is required to enable search. See the documentation for instructions.
6
Warning: mtn binary not found.  Monotone integration will not work.
7
8
Please see http://www.reviewboard.org/docs/manual/dev/admin/
9
for help setting up Review Board.
10
11
12
C:\Python25\lib\site-packages\Crypto\Util\randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
13
  RandomPool_DeprecationWarning)
14
Testing User.is_profile_public with private profiles. ... ok
15
Testing User.is_profile_public with public profiles. ... ok
16
Testing check_updates_required with valid configuration ... ok
17
Testing check_updates_required with a bad upload directory ... ok
18
Testing uploading a file attachment. ... ok
19
Testing record_field_change with a list value ... ok
20
Testing record_field_change with mismatched types ... ok
21
Testing record_field_change with an object list (using name_field) ... ok
22
Testing record_field_change with a string value ... ok
23
Testing using long filenames (1024 characters) in FileDiff. ... ok
24
Testing parse on a context diff ... ok
25
Testing patching with an empty diff ... ok
26
Testing inter-line diffs ... ok
27
Testing move detection ... ok
28
Testing patching ... ok
29
Testing patching a CR file with a CRLF diff ... ok
30
Testing patching a CRLF file with a CR diff ... ok
31
Testing patching a CRLF file with a CRLF diff ... ok
32
Testing patching a file indicating no newline with a trailing \r ... ok
33
Testing parse on a unified diff ... ok
34
Testing highlightregion ... ok
35
Testing interesting lines scanner with a C# file ... ok
36
Testing interesting lines scanner with a Java file ... ok
37
Testing interesting lines scanner with a JavaScript file ... ok
38
Testing interesting lines scanner with an Objective C file ... ok
39
Testing interesting lines scanner with a PHP file ... ok
40
Testing interesting lines scanner with a Perl file ... ok
41
Testing interesting lines scanner with a Python file ... ok
42
Testing interesting lines scanner with a Ruby file ... ok
43
Testing myers differ ... ok
44
Testing sending an e-mail when creating a new review request ... ok
45
Testing sending an e-mail when replying to a review request ... ok
46
Testing sending an e-mail when replying to a review ... ok
47
Testing sending an e-mail when updating a review request ... ok
48
Testing sending an e-mail after a new user has successfully registered. ... ok
49
Testing report_list ... ok
50
Testing review report ... ok
51
Testing review_request report ... ok
52
Testing status_report ... ok
53
Testing consolidation of duplicate reviews ... ok
54
Testing counters when adding a group reviewer ... ok
55
Testing counters when adding a person reviewer ... ok
56
Testing counters with closing outgoing review requests ... ok
57
Testing counters with deleting outgoing review requests ... ok
58
Testing counters with creating outgoing review requests ... ok
59
Testing counters when removing a group reviewer ... ok
60
Testing counters when removing a person reviewer ... ok
61
Testing counters with reopening discarded outgoing review requests ... ok
62
Testing counters with reopening submitted outgoing review requests ... ok
63
Testing get_all_review_requests ... ok
64
Testing get_review_requests_from_user ... ok
65
Testing get_review_requests_to_group ... ok
66
Testing get_review_requests_to_user ... ok
67
Testing get_review_requests_to_user_directly ... ok
68
Testing get_review_requests_to_user_groups ... ok
69
Testing DefaultReviewer.objects.for_repository ... ok
70
Testing DefaultReviewerForm with a LocalSite. ... ok
71
Testing DefaultReviewerForm with a Group not on the same LocalSite. ... ok
72
Testing DefaultReviewerForm with a Repository not on the same LocalSite. ... ok
73
Testing DefaultReviewerForm with a User not on the same LocalSite. ... ok
74
Testing recording of draft changes. ... ok
75
Testing review requests with very long bug numbers ... ok
76
Testing review requests with no summary ... ok
77
Tests GroupForm with a LocalSite. ... ok
78
Tests GroupForm with a User not on the same LocalSite. ... ok
79
Testing the ifneatnumber tag with milestone numbers ... ok
80
Testing the ifneatnumber tag with palindrome numbers ... ok
81
Testing access to joined invite-only group ... ok
82
Testing no access to unjoined invite-only group ... ok
83
Testing visibility of a hidden joined invite-only group ... ok
84
Testing visibility of a hidden unjoined invite-only group ... ok
85
Testing access to a public review group ... ok
86
Testing visibility of a hidden public group ... ok
87
Testing access to a private repository with joined review group added ... ok
88
Testing access to a private repository with user added ... ok
89
Testing no access to a private repository ... ok
90
Testing access to a public repository ... ok
91
Testing access to a public review request ... ok
92
Testing no access to a review request with only an unjoined invite-only group ... ok
93
Testing access to a review request with specific target user and invite-only group ... ok
94
Testing no access to a review request with a private repository ... ok
95
Testing access to a review request with a private repository with review group added ... ok
96
Testing access to a review request with a private repository with user added ... ok
97
Testing dashboard view (incoming) ... ok
98
Testing dashboard view (outgoing) ... ok
99
Testing dashboard view (to-me) ... ok
100
Testing dashboard view (to-group devgroup) ... ok
101
Testing dashboard view (mine) ... ok
102
Testing dashboard view (to-group devgroup) ... ok
103
Testing group_list view ... ok
104
Testing group_list view with site-wide login enabled ... ok
105
Testing the diff viewer with interdiffs ... ok
106
Testing the diff viewer with interdiffs containing new files ... ok
107
Testing new_review_request view (basic responses) ... ok
108
Testing new_review_request view (uploading diffs) ... FAIL
109
Testing review_detail redirect ... ok
110
Testing review_detail view (1) ... ok
111
Testing review_detail view (3) ... ok
112
Testing review_detail view with site-wide login enabled ... ok
113
Testing all_review_requests view ... ok
114
Testing all_review_requests view with site-wide login enabled ... ok
115
Testing submitter_list view ... ok
116
Testing the submitter list with various characters in the username ... ok
117
Testing submitter_list view with site-wide login enabled ... ok
118
Testing a SFTP-backed bzr repository ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the C:\Users\Kira\.ssh\authorized_keys file and SSH must be enabled.
119
Testing a SSH-backed bzr repository ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the C:\Users\Kira\.ssh\authorized_keys file and SSH must be enabled.
120
Testing a SSH-backed bzr repository with a LocalSite ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the C:\Users\Kira\.ssh\authorized_keys file and SSH must be enabled.
121
Testing parsing CVS diff with bad info ... ok
122
Testing parsing CVS bad diff with new file ... ok
123
Testing a bad CVSROOT ... ok
124
Testing CVSTool.get_file ... ERROR
125
Testing parsing CVS inter-revision diff ... ok
126
Testing basic CVSTool API ... ok
127
Testing parsing CVS diff with new file ... ok
128
Testing parsing a CVSROOT with a port ... ok
129
Testing parsing a CVSROOT without a port ... ok
130
Testing revision number parsing ... ok
131
Testing parsing CVS simple diff ... ok
132
Testing a SSH-backed CVS repository ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the C:\Users\Kira\.ssh\authorized_keys file and SSH must be enabled.
133
Testing a SSH-backed CVS repository with a LocalSite ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the C:\Users\Kira\.ssh\authorized_keys file and SSH must be enabled.
134
Testing basic scmtools.core API ... ok
135
Testing parsing Git diff with binary ... ok
136
Testing parsing Git diff with existing and new files ... ok
137
Testing parsing Git diff with deleted file ... ok
138
Testing GitTool.file_exists ... ok
139
Testing parsing filemode changes Git diff ... ok
140
Testing parsing filemode changes with following Git diff ... ok
141
Testing GitTool.get_file ... ok
142
Testing GitTool.get_file with remote files and short SHA1 error ... ok
143
Testing parsing Git diff with new file ... ok
144
Testing parsing Git diff new file, no content ... ok
145
Testing parsing Git diff new file, no content, with following ... ok
146
Testing Git revision number parsing ... ok
147
Testing GitTool.parse_diff_revision with remote files and short SHA1 error ... ok
148
Testing parsing simple Git diff ... ok
149
Testing a SSH-backed git repository ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the C:\Users\Kira\.ssh\authorized_keys file and SSH must be enabled.
150
Testing a SSH-backed git repository with a LocalSite ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the C:\Users\Kira\.ssh\authorized_keys file and SSH must be enabled.
151
Testing HgDiffParser with a diff between committed revisions ... SKIP: Hg is not installed
152
Testing HgDiffParser with a diff that creates a new file ... SKIP: Hg is not installed
153
Testing HgDiffParser with a diff with an uncommitted change ... SKIP: Hg is not installed
154
Testing HgDiffParser with a diff that contains non-diff junk test as a preamble ... SKIP: Hg is not installed
155
Testing HgTool.get_file ... SKIP: Hg is not installed
156
Testing basic HgTool API ... SKIP: Hg is not installed
157
Testing HgTool with a patch that creates a new file ... SKIP: Hg is not installed
158
Testing HgDiffParser revision number parsing ... SKIP: Hg is not installed
159
Testing Perforce binary diff parsing ... SKIP: perforce/p4python is not installed
160
Testing PerforceTool.get_changeset ... SKIP: perforce/p4python is not installed
161
Testing Perforce deleted diff parsing ... SKIP: perforce/p4python is not installed
162
Testing Perforce empty and normal diff parsing ... SKIP: perforce/p4python is not installed
163
Testing Perforce empty diff parsing ... SKIP: perforce/p4python is not installed
164
Testing PerforceTool.get_file ... SKIP: perforce/p4python is not installed
165
Testing adding a Group to a RepositoryForm with the wrong LocalSite. ... ok
166
Testing adding a User to a RepositoryForm with the wrong LocalSite. ... ok
167
Testing access to a private repository accessible by review group ... ok
168
Testing access to a private repository accessible by user ... ok
169
Testing no access to an inaccessible private repository ... ok
170
Testing access to a public repository ... ok
171
Testing sshutils.add_host_key ... ok
172
Testing sshutils.add_host_key with localsite ... ok
173
Testing sshutils.generate_user_key ... ok
174
Testing sshutils.generate_user_key with localsite ... ok
175
Testing sshutils.get_ssh_dir with ~/.ssh ... ok
176
Testing sshutils.get_ssh_dir with ~/.ssh and localsite ... ok
177
Testing sshutils.get_ssh_dir with ~/ssh ... ok
178
Testing sshutils.get_ssh_dir with ~/ssh and localsite ... ok
179
Testing sshutils.replace_host_key ... ok
180
Testing sshutils.replace_host_key with localsite ... ok
181
Testing parsing SVN diff with binary file ... ok
182
Testing SVNTool.get_file ... ERROR
183
Testing basic SVNTool API ... ok
184
Testing parsing SVN diff with keywords ... ERROR
185
Testing revision number parsing ... ok
186
Testing parsing SVN diff with unterminated keywords ... ERROR
187
Testing a SSH-backed Subversion repository ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the c:\users\kira\appdata\local\temp\rb-tests-home-u-crvy\.ssh\authorized_keys file and SSH must be enabled.
188
Testing a SSH-backed Subversion repository with a LocalSite ... SKIP: Cannot perform SSH access tests. The local user's SSH public key must be in the c:\users\kira\appdata\local\temp\rb-tests-home-u-crvy\.ssh\authorized_keys file and SSH must be enabled.
189
Test LocalSite.is_accessible_by ... ok
190
Testing local_site_reverse with a local site ... ok
191
Testing local_site_reverse with no local site ... ok
192
Testing localsite's {% url %} with local site ... ok
193
Testing localsite's {% url %} with no local site ... ok
194
Testing the GET review-requests/<id>/changes/<id>/ API ... ok
195
Testing the GET review-requests/<id>/changes/ API ... ok
196
Testing the GET review-requests/<id>/diffs/<revision>/ API ... ok
197
Testing the GET review-requests/<id>/diffs/<revision>/ API with a local site ... ok
198
Testing the GET review-requests/<id>/diffs/<revision>/ API with a local site and Permission Denied error ... ok
199
Testing the GET review-requests/<id>/diffs/ API ... ok
200
Testing the GET review-requests/<id>/diffs API with a local site ... ok
201
Testing the GET review-requests/<id>/diffs API with a local site and Permission Denied error ... ok
202
Testing the POST review-requests/<id>/diffs/ API ... FAIL
203
Testing the POST review-requests/<id>/diffs/ API with Invalid Form Data ... ok
204
Testing the POST review-requests/<id>/diffs/ API with a local site ... ok
205
Testing the GET review-requests/<id>/reviews/draft/file_attachment-comments/ API ... ok
206
Testing the GET review-requests/<id>/reviews/draft/file_attachment-comments/ APIs with a local site ... ok
207
Testing the GET review-requests/<id>/reviews/draft/screenshot-comments/ API ... ok
208
Testing the GET review-requests/<id>/reviews/draft/screenshot-comments/ APIs with a local site ... ok
209
Testing the GET review-requests/<id>/file-attachments/<id>/comments/ API ... ok
210
Testing the GET review-requests/<id>/file-attachments/<id>/comments/ API with a local site ... ok
211
Testing the GET review-requests/<id>/file-attachments/<id>/comments/ API with a local site and Permission Denied error ... ok
212
Testing the POST review-requests/<id>/draft/file-attachments/ API ... ok
213
Testing the POST review-requests/<id>/draft/file-attachments/ API with Permission Denied error ... ok
214
Testing the POST review-requests/<id>/draft/file-attachments/ API with a local site ... ok
215
Testing the POST review-requests/<id>/draft/file-attachments/ API with a local site and Permission Denied error ... ok
216
Testing the PUT review-requests/<id>/draft/file-attachments/<id>/ API ... ok
217
Testing the PUT review-requests/<id>/draft/file-attachments/<id>/ API with a local site ... ok
218
Testing the PUT review-requests/<id>/draft/file-attachments/<id>/ API with a local site and Permission Denied error ... ok
219
Testing the POST review-requests/<id>/file-attachments/ API ... ok
220
Testing the POST review-requests/<id>/file-attachments/ API with Permission Denied error ... ok
221
Testing the POST review-requests/<id>/file-attachments/ API with a local site ... ok
222
Testing the POST review-requests/<id>/file-attachments/ API with a local site and Permission Denied error ... ok
223
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/ API ... ok
224
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/?line= API ... ok
225
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/ API with a local site ... ok
226
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
227
Testing the GET repositories/<id>/info API ... FAIL
228
Testing the GET repositories/<id>/info API with a local site ... FAIL
229
Testing the GET repositories/<id>/info API with a local site and Permission Denied error ... ok
230
Testing the DELETE repositories/<id>/ API ... ok
231
Testing the DELETE repositories/<id>/ API with no access ... ok
232
Testing the DELETE repositories/<id>/ API with a local site ... ok
233
Testing the DELETE repositories/<id>/ API with a local site and no access ... ok
234
Testing the GET repositories/ API ... ok
235
Testing the GET repositories/ API with a local site ... ok
236
Testing the GET repositories/ API with a local site and Permission Denied error ... ok
237
Testing the POST repositories/ API ... FAIL
238
Testing the POST repositories/ API with all available info ... FAIL
239
Testing the POST repositories/ API with Authentication Error ... ok
240
Testing the POST repositories/ API with Bad Host Key error ... ok
241
Testing the POST repositories/ API with Bad Host Key error and trust_host=1 ... ok
242
Testing the POST repositories/ API with Missing User Key error ... ok
243
Testing the POST repositories/ API with no access ... ok
244
Testing the POST repositories/ API with a local site ... FAIL
245
Testing the POST repositories/ API with a local site and no access ... ok
246
Testing the POST repositories/ API with Unknown Certificate error ... ok
247
Testing the POST repositories/ API with Unknown Certificate error and trust_host=1 ... ok
248
Testing the POST repositories/ API with Unknown Host Key error ... ok
249
Testing the POST repositories/ API with Unknown Host Key error and trust_host=1 ... ok
250
Testing the PUT repositories/<id>/ API ... FAIL
251
Testing the PUT repositories/<id>/ API with no access ... ok
252
Testing the PUT repositories/<id>/ API with a local site ... FAIL
253
Testing the PUT repositories/<id>/ API with a local site and no access ... ok
254
Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API ... FAIL
255
Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API with a local site ... ok
256
Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API with a local site and Permission Denied error ... ok
257
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API ... ok
258
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/?counts-only=1 API ... ok
259
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff ... FAIL
260
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with a local site ... ok
261
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
262
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API ... FAIL
263
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff ... FAIL
264
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with an issue ... FAIL
265
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with a local site ... ok
266
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
267
Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue ... FAIL
268
Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue ... FAIL
269
Testing the GET groups/<id>/ API with invite-only ... ok
270
Testing the GET groups/<id>/ API with invite-only and Permission Denied error ... ok
271
Testing the GET groups/<id>/ API ... ok
272
Testing the GET groups/<id>/ API with a local site ... ok
273
Testing the GET groups/<id>/ API with a local site and Permission Denied error ... ok
274
Testing the GET groups/ API ... ok
275
Testing the GET groups/?q= API ... ok
276
Testing the GET groups/ API with a local site ... ok
277
Testing the GET groups/ API with a local site and Permission Denied error ... ok
278
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API ... ok
279
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site ... ok
280
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
281
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API ... ok
282
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site ... ok
283
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
284
Testing the DELETE review-requests/<id>/reviews/<id>/replies/<id>/ API ... ok
285
Testing the DELETE review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site ... ok
286
Testing the DELETE review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site and Permission Denied error ... ok
287
Testing the GET review-requests/<id>/reviews/<id>/replies API ... ok
288
Testing the GET review-requests/<id>/reviews/<id>/replies/?counts-only=1 API ... ok
289
Testing the GET review-requests/<id>/reviews/<id>/replies/ API with a local site ... ok
290
Testing the GET review-requests/<id>/reviews/<id>/replies/ API with a local site and Permission Denied error ... ok
291
Testing the POST review-requests/<id>/reviews/<id>/replies/ API ... ok
292
Testing the POST review-requests/<id>/reviews/<id>/replies/ API with body_bottom ... ok
293
Testing the POST review-requests/<id>/reviews/<id>/replies/ API with body_top ... ok
294
Testing the POST review-requsets/<id>/reviews/<id>/replies/ API with a local site ... ok
295
Testing the POST review-requests/<id>/reviews/<id>/replies/ API with a local site and Permission Denied error ... ok
296
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/ API ... ok
297
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/?public=1 API ... ok
298
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site ... ok
299
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site and Permission Denied error ... ok
300
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/screenshot-comments/ API ... ok
301
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/screenshot-comments/ API with a local site ... ok
302
Testing the DELETE review-requests/<id>/draft/ API ... ok
303
Testing the DELETE review-requests/<id>/draft/ API with a local site ... ok
304
Testing the DELETE review-requests/<id>/draft/ API with a local site and Permission Denied error ... ok
305
Testing the POST review-requests/<id>/draft/ API ... ok
306
Testing the POST review-requests/<id>/draft/ API with a local site ... ok
307
Testing the POST review-requests/<id>/draft/ API with a local site and Permission Denied error ... ok
308
Testing the PUT review-requests/<id>/draft/ API ... ok
309
Testing the PUT review-requests/<id>/draft/?public=1 API ... ok
310
Testing the PUT review-requests/<id>/draft/?public=1 API with a new review request ... ok
311
Testing the PUT review-requests/<id>/draft/ API with a change description ... ok
312
Testing the PUT review-requests/<id>/draft/ API with Invalid Form Data error ... ok
313
Testing the PUT review-requests/<id>/draft/ API with Permission Denied error ... ok
314
Testing the PUT review-requests/<id>/draft/ API with a local site ... ok
315
Testing the PUT review-requests/<id>/draft/ API with a local site and Permission Denied error ... ok
316
Testing the DELETE review-requests/<id>/ API ... ok
317
Testing the DELETE review-requests/<id>/ API with Does Not Exist error ... ok
318
Testing the DELETE review-requests/<id>/ API with Permission Denied error ... ok
319
Testing the DELETE review-requests/<id>/ API with a lotal site ... ok
320
Testing the GET review-requests/<id>/ API ... ok
321
Testing the GET review-requests/<id>/ API with invite-only group and Permission Denied error ... ok
322
Testing the GET review-requests/<id>/ API with invite-only group and target user ... ok
323
Testing the GET review-requests/<id>/ API with non-public and Permission Denied error ... ok
324
Testing the GET review-requests/?repository=&changenum= API ... ok
325
Testing the GET review-requests/<id>/ API with a local site ... ok
326
Testing the GET review-requests/<id>/ API with a local site and Permission Denied error ... ok
327
Testing the GET review-requests/ API ... ok
328
Testing the GET review-requests/?counts-only=1 API ... ok
329
Testing the GET review-requests/?from-user= API ... ok
330
Testing the GET review-requests/?from-user=&counts-only=1 API ... ok
331
Testing the GET review-requests/?from-user=&status= API ... ok
332
Testing the GET review-requests/?last-updated-from= API ... ok
333
Testing the GET review-requests/?last-updated-to= API ... ok
334
Testing the GET review-requests/ API with a local site ... ok
335
Testing the GET review-requests/ API with a local site and Permission Denied error ... ok
336
Testing the GET review-requests/?status= API ... ok
337
Testing the GET review-requests/?time-added-from= API ... ok
338
Testing the GET review-requests/?time-added-to= API ... ok
339
Testing the GET review-requests/?to-groups= API ... ok
340
Testing the GET review-requests/?to-groups=&counts-only=1 API ... ok
341
Testing the GET review-requests/?to-groups=&status= API ... ok
342
Testing the GET review-requests/?to-users= API ... ok
343
Testing the GET review-requests/?to-users=&counts-only=1 API ... ok
344
Testing the GET review-requests/?to-users=&status= API ... ok
345
Testing the GET review-requests/?to-users-directly= API ... ok
346
Testing the GET review-requests/?to-users-directly=&counts-only=1 API ... ok
347
Testing the GET review-requests/?to-users-directly=&status= API ... ok
348
Testing the POST review-requests/ API ... ok
349
Testing the POST review-requests/ API with Invalid Repository error ... ok
350
Testing the POST review-requests/ API with Invalid Repository error from a site-local repository ... ok
351
Testing the POST review-requests/ API with a repository name ... ok
352
Testing the POST review-requests/ API with a local site ... ok
353
Testing the POST review-requests/ API with a local site and Invalid Repository error ... ok
354
Testing the POST review-requests/ API with a local site and Permission Denied error ... ok
355
Testing the POST review-requests/?submit_as= API ... ok
356
Testing the POST review-requests/?submit_as= API with Permission Denied error ... ok
357
Testing the PUT review-requests/<id>/?status=discarded API ... ok
358
Testing the PUT review-requests/<id>/?status=discarded API with Permission Denied ... ok
359
Testing the PUT review-requests/<id>/?status=pending API ... ok
360
Testing the PUT review-requests/<id>/?status=submitted API ... ok
361
Testing the PUT review-requests/<id>/?status=submitted API with a local site ... ok
362
Testing the PUT review-requests/<id>/?status=submitted API with a local site and Permission Denied error ... ok
363
Testing the DELETE review-requests/<id>/reviews/<id>/ API ... ok
364
Testing the DELETE review-requests/<id>/reviews/<id>/ API with Does Not Exist error ... ok
365
Testing the DELETE review-requests/<id>/reviews/<id>/ API with a local site ... ok
366
Testing the DELETE review-requests/<id>/reviews/<id>/ API with a local site and Permission Denied error ... ok
367
Testing the DELETE review-requests/<id>/reviews/<id>/ API with Permission Denied error ... ok
368
Testing the DELETE review-requests/<id>/reviews/<id>/ API with pre-published review ... ok
369
Testing the GET review-requests/<id>/reviews/ API ... ok
370
Testing the GET review-requests/<id>/reviews/?counts-only=1 API ... ok
371
Testing the GET review-requests/<id>/reviews/ API with a local site ... ok
372
Testing the GET review-requests/<id>/reviews/ API with a local site and Permission Denied error ... ok
373
Testing the POST review-requests/<id>/reviews/ API ... ok
374
Testing the POST review-requests/<id>/reviews/ API with a local site ... ok
375
Testing the POST review-requests/<id>/reviews/ API with a local site and Permission Denied error ... ok
376
Testing the PUT review-requests/<id>/reviews/<id>/ API ... ok
377
Testing the PUT review-requests/<id>/reviews/<id>/?public=1 API ... ok
378
Testing the PUT review-requests/<id>/reviews/<id>/ API with pre-published review ... ok
379
Testing the PUT review-requests/<id>/reviews/<id>/ API with a local site ... ok
380
Testing the PUT review-requests/<id>/reviews/<id>/ API with a local site and Permission Denied error ... ok
381
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id>/ API ... ok
382
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id>/ API with Does Not Exist error ... ok
383
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with a local site ... ok
384
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with a local site and Permission Denied error ... ok
385
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API with an issue ... ok
386
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API ... ok
387
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API with a local site ... ok
388
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API with a local site and Permission Denied error ... ok
389
Testing the PUT review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with an issue ... ok
390
Testing the PUT review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with an issue ... ok
391
Testing the GET review-requests/<id>/screenshots/<id>/comments/ API ... ok
392
Testing the GET review-requests/<id>/screenshots/<id>/comments/ API with a local site ... ok
393
Testing the GET review-requests/<id>/screenshots/<id>/comments/ API with a local site and Permission Denied error ... ok
394
Testing the POST review-requests/<id>/draft/screenshots/ API ... ok
395
Testing the POST review-requests/<id>/draft/screenshots/ API with Permission Denied error ... ok
396
Testing the POST review-requests/<id>/draft/screenshots/ API with a local site ... ok
397
Testing the POST review-requests/<id>/draft/screenshots/ API with a local site and Permission Denied error ... ok
398
Testing the PUT review-requests/<id>/draft/screenshots/<id>/ API ... ok
399
Testing the PUT review-requests/<id>/draft/screenshots/<id>/ API with a local site ... ok
400
Testing the PUT review-requests/<id>/draft/screenshots/<id>/ API with a local site and Permission Denied error ... ok
401
Testing the POST review-requests/<id>/screenshots/ API ... ok
402
Testing the POST review-requests/<id>/screenshots/ API with Permission Denied error ... ok
403
Testing the POST review-requests/<id>/screenshots/ API with a local site ... ok
404
Testing the POST review-requests/<id>/screenshots/ API with a local site and Permission Denied error ... ok
405
Testing the GET info/ API ... ok
406
Testing the GET info/ API with a local site ... ok
407
Testing the GET info/ API with a local site and Permission Denied error ... ok
408
Testing the GET session/ API with anonymous user ... ok
409
Testing the GET session/ API with logged in user ... ok
410
Testing the GET session/ API with a local site ... ok
411
Testing the GET session/ API with a local site and Permission Denied error ... ok
412
Testing the GET users/<username>/ API with a local site ... ok
413
Testing the GET users/<username>/ API ... ok
414
Testing the GET users/<username>/ API with a local site ... ok
415
Testing the GET users/<username>/ API with a local site and private profile ... ok
416
Testing the GET users/<username>/ API with a local site and Permission Denied error. ... ok
417
Testing the GET users/ API ... ok
418
Testing the GET users/?q= API ... ok
419
Testing the GET users/ API with a local site ... ok
420
Testing the GET users/ API with a local site and Permission Denied error ... ok
421
Testing the DELETE users/<username>/watched/review-groups/<id>/ API ... ok
422
Testing the DELETE users/<username>/watched/review-groups/<id>/ API with Does Not Exist error ... ok
423
Testing the DELETE users/<username>/watched/review-groups/<id>/ API with a local site ... ok
424
Testing the DELETE users/<username>/watched/review-groups/<id>/ API with a local site and Permission Denied error ... ok
425
Testing the GET users/<username>/watched/review-groups/ API ... ok
426
Testing the GET users/<username>/watched/review-groups/ API with a local site ... ok
427
Testing the GET users/<username>/watched/review-groups/ API with a local site and Permission Denied error ... ok
428
Testing the POST users/<username>/watched/review-groups/ API ... ok
429
Testing the POST users/<username>/watched/review-groups/ API with Does Not Exist error ... ok
430
Testing the POST users/<username>/watched/review-groups/ API with a local site ... ok
431
Testing the POST users/<username>/watched/review-groups/ API with a local site and Does Not Exist error ... ok
432
Testing the POST users/<username>/watched/review-groups/ API with a local site and Permission Denied error ... ok
433
Testing the DELETE users/<username>/watched/review_request/ API ... ok
434
Testing the DELETE users/<username>/watched/review_request/ API with Does Not Exist error ... ok
435
Testing the DELETE users/<username>/watched/review_request/ API with a local site ... ok
436
Testing the DELETE users/<username>/watched/review_request/ API with a local site and Permission Denied error ... ok
437
Testing the GET users/<username>/watched/review_request/ API ... ok
438
Testing the GET users/<username>/watched/review_request/ API with a local site ... ok
439
Testing the GET users/<username>/watched/review_request/ API with a local site and Does Not Exist error ... ok
440
Testing the GET users/<username>/watched/review_request/ API with a local site and Permission Denied error ... ok
441
Testing the POST users/<username>/watched/review_request/ API ... ok
442
Testing the POST users/<username>/watched/review_request/ with Does Not Exist error ... ok
443
Testing the POST users/<username>/watched/review_request/ API with a local site ... ok
444
Testing the POST users/<username>/watched/review_request/ API with a local site and Does Not Exist error ... ok
445
Testing the POST users/<username>/watched/review_request/ API with a local site and Permission Denied error ... ok
446
447
======================================================================
448
ERROR: Testing CVSTool.get_file
449
----------------------------------------------------------------------
450
Traceback (most recent call last):
451
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 323, in testGetFile
452
    self.assertEqual(self.tool.get_file(file, rev), expected)
453
  File "C:\src\reviewboard\reviewboard\scmtools\cvs.py", line 48, in get_file
454
    return self.client.cat_file(path, revision)
455
  File "C:\src\reviewboard\reviewboard\scmtools\cvs.py", line 248, in cat_file
456
    return self._cat_specific_file(filename, revision)
457
  File "C:\src\reviewboard\reviewboard\scmtools\cvs.py", line 299, in _cat_specific_file
458
    raise SCMError(errmsg)
459
SCMError: C:\Python25\lib\site-packages\Crypto\Util\randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
460
461
  RandomPool_DeprecationWarning)
462
463
Unknown exception during connect: (11004, 'getaddrinfo failed') (<class 'socket.gaierror'>)
464
465
cvs [checkout aborted]: end of file from server (consult above messages if any)
466
467
468
469
======================================================================
470
ERROR: Testing SVNTool.get_file
471
----------------------------------------------------------------------
472
Traceback (most recent call last):
473
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 489, in testGetFile
474
    self.assertEqual(self.tool.get_file(file, rev), expected)
475
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
476
    raise SCMError(e)
477
SCMError: Unable to open an ra_local session to URL
478
Unable to open repository 'file://C:\src\reviewboard\reviewboard\scmtools\testdata/svn_repo/trunk/doc/misc-docs/Makefile'
479
480
======================================================================
481
ERROR: Testing parsing SVN diff with keywords
482
----------------------------------------------------------------------
483
Traceback (most recent call last):
484
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 566, in testKeywordDiff
485
    file = self.tool.get_file(filename, rev)
486
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
487
    raise SCMError(e)
488
SCMError: Unable to open an ra_local session to URL
489
Unable to open repository 'file://C:\src\reviewboard\reviewboard\scmtools\testdata/svn_repo/trunk/doc/misc-docs/Makefile'
490
491
======================================================================
492
ERROR: Testing parsing SVN diff with unterminated keywords
493
----------------------------------------------------------------------
494
Traceback (most recent call last):
495
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 588, in testUnterminatedKeywordDiff
496
    file = self.tool.get_file(filename, rev)
497
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
498
    raise SCMError(e)
499
SCMError: Unable to open an ra_local session to URL
500
Unable to open repository 'file://C:\src\reviewboard\reviewboard\scmtools\testdata/svn_repo/trunk/doc/misc-docs/Makefile'
501
502
======================================================================
503
FAIL: Testing new_review_request view (uploading diffs)
504
----------------------------------------------------------------------
505
Traceback (most recent call last):
506
  File "C:\src\reviewboard\reviewboard\reviews\tests.py", line 284, in testNewReviewRequest1
507
    self.assertEqual(response.status_code, 302)
508
AssertionError: 200 != 302
509
510
======================================================================
511
FAIL: Testing the POST review-requests/<id>/diffs/ API
512
----------------------------------------------------------------------
513
Traceback (most recent call last):
514
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3925, in test_post_diffs
515
    'basedir': "/trunk",
516
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
517
    rsp, result = self.api_post_with_response(*args, **kwargs)
518
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
519
    self.assertEqual(response.status_code, expected_status)
520
AssertionError: 400 != 201
521
-------------------- >> begin captured stdout << ---------------------
522
POSTing to /api/review-requests/
523
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
524
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:10:02", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:10:02", "summary": "", "public": false}}
525
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:10:02', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:10:02', u'summary': u'', u'id': 10}}
526
POSTing to /api/review-requests/10/diffs/
527
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x04BB8218>, 'basedir': '/trunk'}
528
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
529
530
--------------------- >> end captured stdout << ----------------------
531
-------------------- >> begin captured logging << --------------------
532
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
533
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
534
Traceback (most recent call last):
535
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
536
    request.FILES.get('parent_diff_path'))
537
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
538
    history)
539
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
540
    diff_file, basedir, check_existance=(not parent_diff_file)))
541
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
542
    not tool.file_exists(filename, revision))):
543
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
544
    self.get_file(path, revision)
545
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
546
    raise SCMError(e)
547
SCMError: Unable to open an ra_local session to URL
548
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
549
--------------------- >> end captured logging << ---------------------
550
551
======================================================================
552
FAIL: Testing the GET repositories/<id>/info API
553
----------------------------------------------------------------------
554
Traceback (most recent call last):
555
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 880, in test_get_repository_info
556
    rsp = self.apiGet(self.get_url(self.repository))
557
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 98, in apiGet
558
    expected_redirects)
559
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
560
    self.assertEqual(response.status_code, expected_status)
561
AssertionError: 500 != 200
562
-------------------- >> begin captured stdout << ---------------------
563
GETing /api/repositories/5/info/
564
Query data: {}
565
566
--------------------- >> end captured stdout << ----------------------
567
568
======================================================================
569
FAIL: Testing the GET repositories/<id>/info API with a local site
570
----------------------------------------------------------------------
571
Traceback (most recent call last):
572
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 892, in test_get_repository_info_with_site
573
    rsp = self.apiGet(self.get_url(self.repository, self.local_site_name))
574
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 98, in apiGet
575
    expected_redirects)
576
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
577
    self.assertEqual(response.status_code, expected_status)
578
AssertionError: 500 != 200
579
-------------------- >> begin captured stdout << ---------------------
580
GETing /s/local-site-1/api/repositories/5/info/
581
Query data: {}
582
583
--------------------- >> end captured stdout << ----------------------
584
585
======================================================================
586
FAIL: Testing the POST repositories/ API
587
----------------------------------------------------------------------
588
Traceback (most recent call last):
589
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 520, in test_post_repository
590
    self._post_repository(False)
591
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 803, in _post_repository
592
    }, **data), expected_status=expected_status)
593
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
594
    rsp, result = self.api_post_with_response(*args, **kwargs)
595
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
596
    self.assertEqual(response.status_code, expected_status)
597
AssertionError: 400 != 201
598
-------------------- >> begin captured stdout << ---------------------
599
POSTing to /api/repositories/
600
Post data: {'path': 'file://C:\\src\\reviewboard\\reviewboard\\scmtools\\testdata\\svn_repo', 'tool': 'Subversion', 'name': 'Test Repository'}
601
Raw response: {"stat": "fail", "err": {"msg": "There was no repository found at the specified path", "code": 205}}
602
603
--------------------- >> end captured stdout << ----------------------
604
-------------------- >> begin captured logging << --------------------
605
root: ERROR: SVN: Failed to get repository information for file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo: Unable to open an ra_local session to URL
606
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
607
--------------------- >> end captured logging << ---------------------
608
609
======================================================================
610
FAIL: Testing the POST repositories/ API with all available info
611
----------------------------------------------------------------------
612
Traceback (most recent call last):
613
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 722, in test_post_repository_full_info
614
    'raw_file_url': 'http://example.com/<filename>/<version>',
615
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 803, in _post_repository
616
    }, **data), expected_status=expected_status)
617
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
618
    rsp, result = self.api_post_with_response(*args, **kwargs)
619
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
620
    self.assertEqual(response.status_code, expected_status)
621
AssertionError: 400 != 201
622
-------------------- >> begin captured stdout << ---------------------
623
POSTing to /api/repositories/
624
Post data: {'username': 'user', 'name': 'Test Repository', 'encoding': 'UTF-8', 'tool': 'Subversion', 'public': False, 'raw_file_url': 'http://example.com/<filename>/<version>', 'bug_tracker': 'http://bugtracker/%s/', 'path': 'file://C:\\src\\reviewboard\\reviewboard\\scmtools\\testdata\\svn_repo', 'password': '123', 'mirror_path': 'http://svn.example.com/'}
625
Raw response: {"stat": "fail", "err": {"msg": "There was no repository found at the specified path", "code": 205}}
626
627
--------------------- >> end captured stdout << ----------------------
628
-------------------- >> begin captured logging << --------------------
629
root: ERROR: SVN: Failed to get repository information for file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo: Unable to open an ra_local session to URL
630
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
631
--------------------- >> end captured logging << ---------------------
632
633
======================================================================
634
FAIL: Testing the POST repositories/ API with a local site
635
----------------------------------------------------------------------
636
Traceback (most recent call last):
637
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 710, in test_post_repository_with_site
638
    self._post_repository(True)
639
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 803, in _post_repository
640
    }, **data), expected_status=expected_status)
641
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
642
    rsp, result = self.api_post_with_response(*args, **kwargs)
643
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
644
    self.assertEqual(response.status_code, expected_status)
645
AssertionError: 400 != 201
646
-------------------- >> begin captured stdout << ---------------------
647
POSTing to /s/local-site-1/api/repositories/
648
Post data: {'path': 'file://C:\\src\\reviewboard\\reviewboard\\scmtools\\testdata\\svn_repo', 'tool': 'Subversion', 'name': 'Test Repository'}
649
Raw response: {"stat": "fail", "err": {"msg": "There was no repository found at the specified path", "code": 205}}
650
651
--------------------- >> end captured stdout << ----------------------
652
-------------------- >> begin captured logging << --------------------
653
root: ERROR: SVN: Failed to get repository information for file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo: Unable to open an ra_local session to URL
654
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
655
--------------------- >> end captured logging << ---------------------
656
657
======================================================================
658
FAIL: Testing the PUT repositories/<id>/ API
659
----------------------------------------------------------------------
660
Traceback (most recent call last):
661
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 745, in test_put_repository
662
    'raw_file_url': 'http://example.com/<filename>/<version>',
663
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 829, in _put_repository
664
    }, **data), expected_status=expected_status)
665
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 131, in apiPut
666
    expected_redirects)
667
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
668
    self.assertEqual(response.status_code, expected_status)
669
AssertionError: 400 != 200
670
-------------------- >> begin captured stdout << ---------------------
671
PUTing to /api/repositories/1/
672
Post data: {'username': 'user', 'name': 'New Test Repository', 'encoding': 'UTF-8', 'mirror_path': 'http://svn.example.com/', 'raw_file_url': 'http://example.com/<filename>/<version>', 'bug_tracker': 'http://bugtracker/%s/', 'path': 'file://C:\\src\\reviewboard\\reviewboard\\scmtools\\testdata\\svn_repo', 'password': '123', 'public': False}
673
674
--------------------- >> end captured stdout << ----------------------
675
-------------------- >> begin captured logging << --------------------
676
root: ERROR: SVN: Failed to get repository information for file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo: Unable to open an ra_local session to URL
677
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
678
--------------------- >> end captured logging << ---------------------
679
680
======================================================================
681
FAIL: Testing the PUT repositories/<id>/ API with a local site
682
----------------------------------------------------------------------
683
Traceback (most recent call last):
684
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 758, in test_put_repository_with_site
685
    'raw_file_url': 'http://example.com/<filename>/<version>',
686
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 829, in _put_repository
687
    }, **data), expected_status=expected_status)
688
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 131, in apiPut
689
    expected_redirects)
690
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
691
    self.assertEqual(response.status_code, expected_status)
692
AssertionError: 400 != 200
693
-------------------- >> begin captured stdout << ---------------------
694
PUTing to /s/local-site-1/api/repositories/4/
695
Post data: {'username': 'user', 'name': 'New Test Repository', 'encoding': 'UTF-8', 'mirror_path': 'http://svn.example.com/', 'raw_file_url': 'http://example.com/<filename>/<version>', 'bug_tracker': 'http://bugtracker/%s/', 'path': 'file://C:\\src\\reviewboard\\reviewboard\\scmtools\\testdata\\svn_repo', 'password': '123', 'public': False}
696
697
--------------------- >> end captured stdout << ----------------------
698
-------------------- >> begin captured logging << --------------------
699
root: ERROR: SVN: Failed to get repository information for file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo: Unable to open an ra_local session to URL
700
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
701
--------------------- >> end captured logging << ---------------------
702
703
======================================================================
704
FAIL: Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API
705
----------------------------------------------------------------------
706
Traceback (most recent call last):
707
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2842, in test_delete_diff_comment_with_interdiff
708
    self._common_post_interdiff_comments(comment_text)
709
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3003, in _common_post_interdiff_comments
710
    rsp = self._postNewDiff(review_request)
711
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
712
    'basedir': "/trunk",
713
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
714
    rsp, result = self.api_post_with_response(*args, **kwargs)
715
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
716
    self.assertEqual(response.status_code, expected_status)
717
AssertionError: 400 != 201
718
-------------------- >> begin captured stdout << ---------------------
719
POSTing to /api/review-requests/
720
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
721
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:10:49", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:10:49", "summary": "", "public": false}}
722
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:10:49', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:10:49', u'summary': u'', u'id': 10}}
723
POSTing to /api/review-requests/10/diffs/
724
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E4A0>, 'basedir': '/trunk'}
725
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
726
727
--------------------- >> end captured stdout << ----------------------
728
-------------------- >> begin captured logging << --------------------
729
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
730
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
731
Traceback (most recent call last):
732
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
733
    request.FILES.get('parent_diff_path'))
734
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
735
    history)
736
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
737
    diff_file, basedir, check_existance=(not parent_diff_file)))
738
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
739
    not tool.file_exists(filename, revision))):
740
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
741
    self.get_file(path, revision)
742
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
743
    raise SCMError(e)
744
SCMError: Unable to open an ra_local session to URL
745
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
746
--------------------- >> end captured logging << ---------------------
747
748
======================================================================
749
FAIL: Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff
750
----------------------------------------------------------------------
751
Traceback (most recent call last):
752
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2825, in test_get_diff_comments_with_interdiff
753
    self._common_post_interdiff_comments(comment_text)
754
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3003, in _common_post_interdiff_comments
755
    rsp = self._postNewDiff(review_request)
756
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
757
    'basedir': "/trunk",
758
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
759
    rsp, result = self.api_post_with_response(*args, **kwargs)
760
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
761
    self.assertEqual(response.status_code, expected_status)
762
AssertionError: 400 != 201
763
-------------------- >> begin captured stdout << ---------------------
764
POSTing to /api/review-requests/
765
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
766
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:10:53", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:10:53", "summary": "", "public": false}}
767
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:10:53', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:10:53', u'summary': u'', u'id': 10}}
768
POSTing to /api/review-requests/10/diffs/
769
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E770>, 'basedir': '/trunk'}
770
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
771
772
--------------------- >> end captured stdout << ----------------------
773
-------------------- >> begin captured logging << --------------------
774
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
775
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
776
Traceback (most recent call last):
777
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
778
    request.FILES.get('parent_diff_path'))
779
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
780
    history)
781
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
782
    diff_file, basedir, check_existance=(not parent_diff_file)))
783
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
784
    not tool.file_exists(filename, revision))):
785
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
786
    self.get_file(path, revision)
787
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
788
    raise SCMError(e)
789
SCMError: Unable to open an ra_local session to URL
790
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
791
--------------------- >> end captured logging << ---------------------
792
793
======================================================================
794
FAIL: Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API
795
----------------------------------------------------------------------
796
Traceback (most recent call last):
797
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2744, in test_post_diff_comments
798
    rsp = self._postNewDiff(review_request)
799
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
800
    'basedir': "/trunk",
801
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
802
    rsp, result = self.api_post_with_response(*args, **kwargs)
803
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
804
    self.assertEqual(response.status_code, expected_status)
805
AssertionError: 400 != 201
806
-------------------- >> begin captured stdout << ---------------------
807
POSTing to /api/review-requests/
808
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
809
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:10:55", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:10:55", "summary": "", "public": false}}
810
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:10:55', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:10:55', u'summary': u'', u'id': 10}}
811
POSTing to /api/review-requests/10/diffs/
812
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E8D8>, 'basedir': '/trunk'}
813
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
814
815
--------------------- >> end captured stdout << ----------------------
816
-------------------- >> begin captured logging << --------------------
817
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
818
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
819
Traceback (most recent call last):
820
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
821
    request.FILES.get('parent_diff_path'))
822
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
823
    history)
824
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
825
    diff_file, basedir, check_existance=(not parent_diff_file)))
826
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
827
    not tool.file_exists(filename, revision))):
828
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
829
    self.get_file(path, revision)
830
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
831
    raise SCMError(e)
832
SCMError: Unable to open an ra_local session to URL
833
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
834
--------------------- >> end captured logging << ---------------------
835
836
======================================================================
837
FAIL: Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff
838
----------------------------------------------------------------------
839
Traceback (most recent call last):
840
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2810, in test_post_diff_comments_with_interdiff
841
    self._common_post_interdiff_comments(comment_text)
842
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3003, in _common_post_interdiff_comments
843
    rsp = self._postNewDiff(review_request)
844
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
845
    'basedir': "/trunk",
846
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
847
    rsp, result = self.api_post_with_response(*args, **kwargs)
848
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
849
    self.assertEqual(response.status_code, expected_status)
850
AssertionError: 400 != 201
851
-------------------- >> begin captured stdout << ---------------------
852
POSTing to /api/review-requests/
853
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
854
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:10:56", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:10:56", "summary": "", "public": false}}
855
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:10:56', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:10:56', u'summary': u'', u'id': 10}}
856
POSTing to /api/review-requests/10/diffs/
857
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E8D8>, 'basedir': '/trunk'}
858
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
859
860
--------------------- >> end captured stdout << ----------------------
861
-------------------- >> begin captured logging << --------------------
862
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
863
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
864
Traceback (most recent call last):
865
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
866
    request.FILES.get('parent_diff_path'))
867
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
868
    history)
869
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
870
    diff_file, basedir, check_existance=(not parent_diff_file)))
871
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
872
    not tool.file_exists(filename, revision))):
873
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
874
    self.get_file(path, revision)
875
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
876
    raise SCMError(e)
877
SCMError: Unable to open an ra_local session to URL
878
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
879
--------------------- >> end captured logging << ---------------------
880
881
======================================================================
882
FAIL: Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with an issue
883
----------------------------------------------------------------------
884
Traceback (most recent call last):
885
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2889, in test_post_diff_comments_with_issue
886
    rsp = self._postNewDiff(review_request)
887
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
888
    'basedir': "/trunk",
889
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
890
    rsp, result = self.api_post_with_response(*args, **kwargs)
891
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
892
    self.assertEqual(response.status_code, expected_status)
893
AssertionError: 400 != 201
894
-------------------- >> begin captured stdout << ---------------------
895
POSTing to /api/review-requests/
896
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
897
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:10:57", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:10:57", "summary": "", "public": false}}
898
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:10:57', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:10:57', u'summary': u'', u'id': 10}}
899
POSTing to /api/review-requests/10/diffs/
900
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E8D8>, 'basedir': '/trunk'}
901
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
902
903
--------------------- >> end captured stdout << ----------------------
904
-------------------- >> begin captured logging << --------------------
905
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
906
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
907
Traceback (most recent call last):
908
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
909
    request.FILES.get('parent_diff_path'))
910
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
911
    history)
912
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
913
    diff_file, basedir, check_existance=(not parent_diff_file)))
914
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
915
    not tool.file_exists(filename, revision))):
916
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
917
    self.get_file(path, revision)
918
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
919
    raise SCMError(e)
920
SCMError: Unable to open an ra_local session to URL
921
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
922
--------------------- >> end captured logging << ---------------------
923
924
======================================================================
925
FAIL: Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue
926
----------------------------------------------------------------------
927
Traceback (most recent call last):
928
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2950, in test_update_diff_comment_issue_status
929
    rsp = self._postNewDiff(review_request)
930
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
931
    'basedir': "/trunk",
932
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
933
    rsp, result = self.api_post_with_response(*args, **kwargs)
934
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
935
    self.assertEqual(response.status_code, expected_status)
936
AssertionError: 400 != 201
937
-------------------- >> begin captured stdout << ---------------------
938
POSTing to /api/review-requests/
939
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
940
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:10:59", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:10:59", "summary": "", "public": false}}
941
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:10:59', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:10:59', u'summary': u'', u'id': 10}}
942
POSTing to /api/review-requests/10/diffs/
943
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E9F8>, 'basedir': '/trunk'}
944
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
945
946
--------------------- >> end captured stdout << ----------------------
947
-------------------- >> begin captured logging << --------------------
948
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
949
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
950
Traceback (most recent call last):
951
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
952
    request.FILES.get('parent_diff_path'))
953
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
954
    history)
955
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
956
    diff_file, basedir, check_existance=(not parent_diff_file)))
957
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
958
    not tool.file_exists(filename, revision))):
959
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
960
    self.get_file(path, revision)
961
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
962
    raise SCMError(e)
963
SCMError: Unable to open an ra_local session to URL
964
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
965
--------------------- >> end captured logging << ---------------------
966
967
======================================================================
968
FAIL: Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue
969
----------------------------------------------------------------------
970
Traceback (most recent call last):
971
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2922, in test_update_diff_comment_with_issue
972
    rsp = self._postNewDiff(review_request)
973
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
974
    'basedir': "/trunk",
975
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
976
    rsp, result = self.api_post_with_response(*args, **kwargs)
977
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
978
    self.assertEqual(response.status_code, expected_status)
979
AssertionError: 400 != 201
980
-------------------- >> begin captured stdout << ---------------------
981
POSTing to /api/review-requests/
982
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
983
Raw response: {"stat": "ok", "review_request": {"status": "pending", "last_updated": "2011-06-27 11:11:00", "description": "", "links": {"diffs": {"href": "http://testserver/api/review-requests/10/diffs/", "method": "GET"}, "repository": {"href": "http://testserver/api/repositories/5/", "method": "GET", "title": "Subversion SVN"}, "screenshots": {"href": "http://testserver/api/review-requests/10/screenshots/", "method": "GET"}, "self": {"href": "http://testserver/api/review-requests/10/", "method": "GET"}, "update": {"href": "http://testserver/api/review-requests/10/", "method": "PUT"}, "last_update": {"href": "http://testserver/api/review-requests/10/last-update/", "method": "GET"}, "reviews": {"href": "http://testserver/api/review-requests/10/reviews/", "method": "GET"}, "draft": {"href": "http://testserver/api/review-requests/10/draft/", "method": "GET"}, "file_attachments": {"href": "http://testserver/api/review-requests/10/file-attachments/", "method": "GET"}, "submitter": {"href": "http://testserver/api/users/grumpy/", "method": "GET", "title": "grumpy"}, "changes": {"href": "http://testserver/api/review-requests/10/changes/", "method": "GET"}, "delete": {"href": "http://testserver/api/review-requests/10/", "method": "DELETE"}}, "target_groups": [], "bugs_closed": [], "changenum": null, "target_people": [], "testing_done": "", "branch": "", "id": 10, "time_added": "2011-06-27 11:11:00", "summary": "", "public": false}}
984
Response: {u'stat': u'ok', u'review_request': {u'status': u'pending', u'last_updated': u'2011-06-27 11:11:00', u'description': u'', u'links': {u'diffs': {u'href': u'http://testserver/api/review-requests/10/diffs/', u'method': u'GET'}, u'repository': {u'href': u'http://testserver/api/repositories/5/', u'method': u'GET', u'title': u'Subversion SVN'}, u'changes': {u'href': u'http://testserver/api/review-requests/10/changes/', u'method': u'GET'}, u'self': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'GET'}, u'update': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'PUT'}, u'last_update': {u'href': u'http://testserver/api/review-requests/10/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'http://testserver/api/review-requests/10/reviews/', u'method': u'GET'}, u'draft': {u'href': u'http://testserver/api/review-requests/10/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'http://testserver/api/review-requests/10/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'http://testserver/api/users/grumpy/', u'method': u'GET', u'title': u'grumpy'}, u'screenshots': {u'href': u'http://testserver/api/review-requests/10/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'http://testserver/api/review-requests/10/', u'method': u'DELETE'}}, u'public': False, u'target_groups': [], u'bugs_closed': [], u'changenum': None, u'target_people': [], u'testing_done': u'', u'branch': u'', u'time_added': u'2011-06-27 11:11:00', u'summary': u'', u'id': 10}}
985
POSTing to /api/review-requests/10/diffs/
986
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0EF08>, 'basedir': '/trunk'}
987
Raw response: {"fields": {"path": ["Unable to open an ra_local session to URL\nUnable to open repository 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}
988
989
--------------------- >> end captured stdout << ----------------------
990
-------------------- >> begin captured logging << --------------------
991
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
992
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
993
Traceback (most recent call last):
994
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
995
    request.FILES.get('parent_diff_path'))
996
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
997
    history)
998
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
999
    diff_file, basedir, check_existance=(not parent_diff_file)))
1000
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
1001
    not tool.file_exists(filename, revision))):
1002
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
1003
    self.get_file(path, revision)
1004
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
1005
    raise SCMError(e)
1006
SCMError: Unable to open an ra_local session to URL
1007
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
1008
--------------------- >> end captured logging << -Creating test database for alias 'default'...
1009
Destroying test database for alias 'default'...
1010
--------------------
1011
1012
----------------------------------------------------------------------
1013
Ran 432 tests in 341.723s
1014
1015
FAILED (SKIP=23, errors=4, failures=16)
Loading...