Running dependency checks (set DEBUG=False to turn this off)...
Warning: p4python (>=07.3) not found.  Perforce integration will not work.
Warning: hg not found.  Mercurial integration will not work.
Warning: bzrlib not found.  Bazaar integration will not work.
Warning: PyLucene (with JCC) is required to enable search. See the documentation for instructions.
Warning: mtn binary not found.  Monotone integration will not work.

Please see http://www.reviewboard.org/docs/manual/dev/admin/
for help setting up Review Board.


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
  RandomPool_DeprecationWarning)
Testing User.is_profile_public with private profiles. ... ok
Testing User.is_profile_public with public profiles. ... ok
Testing check_updates_required with valid configuration ... ok
Testing check_updates_required with a bad upload directory ... ok
Testing uploading a file attachment. ... ok
Testing record_field_change with a list value ... ok
Testing record_field_change with mismatched types ... ok
Testing record_field_change with an object list (using name_field) ... ok
Testing record_field_change with a string value ... ok
Testing using long filenames (1024 characters) in FileDiff. ... ok
Testing parse on a context diff ... ok
Testing patching with an empty diff ... ok
Testing inter-line diffs ... ok
Testing move detection ... ok
Testing patching ... ok
Testing patching a CR file with a CRLF diff ... ok
Testing patching a CRLF file with a CR diff ... ok
Testing patching a CRLF file with a CRLF diff ... ok
Testing patching a file indicating no newline with a trailing \r ... ok
Testing parse on a unified diff ... ok
Testing highlightregion ... ok
Testing interesting lines scanner with a C# file ... ok
Testing interesting lines scanner with a Java file ... ok
Testing interesting lines scanner with a JavaScript file ... ok
Testing interesting lines scanner with an Objective C file ... ok
Testing interesting lines scanner with a PHP file ... ok
Testing interesting lines scanner with a Perl file ... ok
Testing interesting lines scanner with a Python file ... ok
Testing interesting lines scanner with a Ruby file ... ok
Testing myers differ ... ok
Testing sending an e-mail when creating a new review request ... ok
Testing sending an e-mail when replying to a review request ... ok
Testing sending an e-mail when replying to a review ... ok
Testing sending an e-mail when updating a review request ... ok
Testing sending an e-mail after a new user has successfully registered. ... ok
Testing report_list ... ok
Testing review report ... ok
Testing review_request report ... ok
Testing status_report ... ok
Testing consolidation of duplicate reviews ... ok
Testing counters when adding a group reviewer ... ok
Testing counters when adding a person reviewer ... ok
Testing counters with closing outgoing review requests ... ok
Testing counters with deleting outgoing review requests ... ok
Testing counters with creating outgoing review requests ... ok
Testing counters when removing a group reviewer ... ok
Testing counters when removing a person reviewer ... ok
Testing counters with reopening discarded outgoing review requests ... ok
Testing counters with reopening submitted outgoing review requests ... ok
Testing get_all_review_requests ... ok
Testing get_review_requests_from_user ... ok
Testing get_review_requests_to_group ... ok
Testing get_review_requests_to_user ... ok
Testing get_review_requests_to_user_directly ... ok
Testing get_review_requests_to_user_groups ... ok
Testing DefaultReviewer.objects.for_repository ... ok
Testing DefaultReviewerForm with a LocalSite. ... ok
Testing DefaultReviewerForm with a Group not on the same LocalSite. ... ok
Testing DefaultReviewerForm with a Repository not on the same LocalSite. ... ok
Testing DefaultReviewerForm with a User not on the same LocalSite. ... ok
Testing recording of draft changes. ... ok
Testing review requests with very long bug numbers ... ok
Testing review requests with no summary ... ok
Tests GroupForm with a LocalSite. ... ok
Tests GroupForm with a User not on the same LocalSite. ... ok
Testing the ifneatnumber tag with milestone numbers ... ok
Testing the ifneatnumber tag with palindrome numbers ... ok
Testing access to joined invite-only group ... ok
Testing no access to unjoined invite-only group ... ok
Testing visibility of a hidden joined invite-only group ... ok
Testing visibility of a hidden unjoined invite-only group ... ok
Testing access to a public review group ... ok
Testing visibility of a hidden public group ... ok
Testing access to a private repository with joined review group added ... ok
Testing access to a private repository with user added ... ok
Testing no access to a private repository ... ok
Testing access to a public repository ... ok
Testing access to a public review request ... ok
Testing no access to a review request with only an unjoined invite-only group ... ok
Testing access to a review request with specific target user and invite-only group ... ok
Testing no access to a review request with a private repository ... ok
Testing access to a review request with a private repository with review group added ... ok
Testing access to a review request with a private repository with user added ... ok
Testing dashboard view (incoming) ... ok
Testing dashboard view (outgoing) ... ok
Testing dashboard view (to-me) ... ok
Testing dashboard view (to-group devgroup) ... ok
Testing dashboard view (mine) ... ok
Testing dashboard view (to-group devgroup) ... ok
Testing group_list view ... ok
Testing group_list view with site-wide login enabled ... ok
Testing the diff viewer with interdiffs ... ok
Testing the diff viewer with interdiffs containing new files ... ok
Testing new_review_request view (basic responses) ... ok
Testing new_review_request view (uploading diffs) ... FAIL
Testing review_detail redirect ... ok
Testing review_detail view (1) ... ok
Testing review_detail view (3) ... ok
Testing review_detail view with site-wide login enabled ... ok
Testing all_review_requests view ... ok
Testing all_review_requests view with site-wide login enabled ... ok
Testing submitter_list view ... ok
Testing the submitter list with various characters in the username ... ok
Testing submitter_list view with site-wide login enabled ... ok
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.
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.
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.
Testing parsing CVS diff with bad info ... ok
Testing parsing CVS bad diff with new file ... ok
Testing a bad CVSROOT ... ok
Testing CVSTool.get_file ... ERROR
Testing parsing CVS inter-revision diff ... ok
Testing basic CVSTool API ... ok
Testing parsing CVS diff with new file ... ok
Testing parsing a CVSROOT with a port ... ok
Testing parsing a CVSROOT without a port ... ok
Testing revision number parsing ... ok
Testing parsing CVS simple diff ... ok
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.
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.
Testing basic scmtools.core API ... ok
Testing parsing Git diff with binary ... ok
Testing parsing Git diff with existing and new files ... ok
Testing parsing Git diff with deleted file ... ok
Testing GitTool.file_exists ... ok
Testing parsing filemode changes Git diff ... ok
Testing parsing filemode changes with following Git diff ... ok
Testing GitTool.get_file ... ok
Testing GitTool.get_file with remote files and short SHA1 error ... ok
Testing parsing Git diff with new file ... ok
Testing parsing Git diff new file, no content ... ok
Testing parsing Git diff new file, no content, with following ... ok
Testing Git revision number parsing ... ok
Testing GitTool.parse_diff_revision with remote files and short SHA1 error ... ok
Testing parsing simple Git diff ... ok
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.
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.
Testing HgDiffParser with a diff between committed revisions ... SKIP: Hg is not installed
Testing HgDiffParser with a diff that creates a new file ... SKIP: Hg is not installed
Testing HgDiffParser with a diff with an uncommitted change ... SKIP: Hg is not installed
Testing HgDiffParser with a diff that contains non-diff junk test as a preamble ... SKIP: Hg is not installed
Testing HgTool.get_file ... SKIP: Hg is not installed
Testing basic HgTool API ... SKIP: Hg is not installed
Testing HgTool with a patch that creates a new file ... SKIP: Hg is not installed
Testing HgDiffParser revision number parsing ... SKIP: Hg is not installed
Testing Perforce binary diff parsing ... SKIP: perforce/p4python is not installed
Testing PerforceTool.get_changeset ... SKIP: perforce/p4python is not installed
Testing Perforce deleted diff parsing ... SKIP: perforce/p4python is not installed
Testing Perforce empty and normal diff parsing ... SKIP: perforce/p4python is not installed
Testing Perforce empty diff parsing ... SKIP: perforce/p4python is not installed
Testing PerforceTool.get_file ... SKIP: perforce/p4python is not installed
Testing adding a Group to a RepositoryForm with the wrong LocalSite. ... ok
Testing adding a User to a RepositoryForm with the wrong LocalSite. ... ok
Testing access to a private repository accessible by review group ... ok
Testing access to a private repository accessible by user ... ok
Testing no access to an inaccessible private repository ... ok
Testing access to a public repository ... ok
Testing sshutils.add_host_key ... ok
Testing sshutils.add_host_key with localsite ... ok
Testing sshutils.generate_user_key ... ok
Testing sshutils.generate_user_key with localsite ... ok
Testing sshutils.get_ssh_dir with ~/.ssh ... ok
Testing sshutils.get_ssh_dir with ~/.ssh and localsite ... ok
Testing sshutils.get_ssh_dir with ~/ssh ... ok
Testing sshutils.get_ssh_dir with ~/ssh and localsite ... ok
Testing sshutils.replace_host_key ... ok
Testing sshutils.replace_host_key with localsite ... ok
Testing parsing SVN diff with binary file ... ok
Testing SVNTool.get_file ... ERROR
Testing basic SVNTool API ... ok
Testing parsing SVN diff with keywords ... ERROR
Testing revision number parsing ... ok
Testing parsing SVN diff with unterminated keywords ... ERROR
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.
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.
Test LocalSite.is_accessible_by ... ok
Testing local_site_reverse with a local site ... ok
Testing local_site_reverse with no local site ... ok
Testing localsite's {% url %} with local site ... ok
Testing localsite's {% url %} with no local site ... ok
Testing the GET review-requests/<id>/changes/<id>/ API ... ok
Testing the GET review-requests/<id>/changes/ API ... ok
Testing the GET review-requests/<id>/diffs/<revision>/ API ... ok
Testing the GET review-requests/<id>/diffs/<revision>/ API with a local site ... ok
Testing the GET review-requests/<id>/diffs/<revision>/ API with a local site and Permission Denied error ... ok
Testing the GET review-requests/<id>/diffs/ API ... ok
Testing the GET review-requests/<id>/diffs API with a local site ... ok
Testing the GET review-requests/<id>/diffs API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/diffs/ API ... FAIL
Testing the POST review-requests/<id>/diffs/ API with Invalid Form Data ... ok
Testing the POST review-requests/<id>/diffs/ API with a local site ... ok
Testing the GET review-requests/<id>/reviews/draft/file_attachment-comments/ API ... ok
Testing the GET review-requests/<id>/reviews/draft/file_attachment-comments/ APIs with a local site ... ok
Testing the GET review-requests/<id>/reviews/draft/screenshot-comments/ API ... ok
Testing the GET review-requests/<id>/reviews/draft/screenshot-comments/ APIs with a local site ... ok
Testing the GET review-requests/<id>/file-attachments/<id>/comments/ API ... ok
Testing the GET review-requests/<id>/file-attachments/<id>/comments/ API with a local site ... ok
Testing the GET review-requests/<id>/file-attachments/<id>/comments/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/draft/file-attachments/ API ... ok
Testing the POST review-requests/<id>/draft/file-attachments/ API with Permission Denied error ... ok
Testing the POST review-requests/<id>/draft/file-attachments/ API with a local site ... ok
Testing the POST review-requests/<id>/draft/file-attachments/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/draft/file-attachments/<id>/ API ... ok
Testing the PUT review-requests/<id>/draft/file-attachments/<id>/ API with a local site ... ok
Testing the PUT review-requests/<id>/draft/file-attachments/<id>/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/file-attachments/ API ... ok
Testing the POST review-requests/<id>/file-attachments/ API with Permission Denied error ... ok
Testing the POST review-requests/<id>/file-attachments/ API with a local site ... ok
Testing the POST review-requests/<id>/file-attachments/ API with a local site and Permission Denied error ... ok
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/ API ... ok
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/?line= API ... ok
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/ API with a local site ... ok
Testing the GET review-requests/<id>/diffs/<revision>/files/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
Testing the GET repositories/<id>/info API ... FAIL
Testing the GET repositories/<id>/info API with a local site ... FAIL
Testing the GET repositories/<id>/info API with a local site and Permission Denied error ... ok
Testing the DELETE repositories/<id>/ API ... ok
Testing the DELETE repositories/<id>/ API with no access ... ok
Testing the DELETE repositories/<id>/ API with a local site ... ok
Testing the DELETE repositories/<id>/ API with a local site and no access ... ok
Testing the GET repositories/ API ... ok
Testing the GET repositories/ API with a local site ... ok
Testing the GET repositories/ API with a local site and Permission Denied error ... ok
Testing the POST repositories/ API ... FAIL
Testing the POST repositories/ API with all available info ... FAIL
Testing the POST repositories/ API with Authentication Error ... ok
Testing the POST repositories/ API with Bad Host Key error ... ok
Testing the POST repositories/ API with Bad Host Key error and trust_host=1 ... ok
Testing the POST repositories/ API with Missing User Key error ... ok
Testing the POST repositories/ API with no access ... ok
Testing the POST repositories/ API with a local site ... FAIL
Testing the POST repositories/ API with a local site and no access ... ok
Testing the POST repositories/ API with Unknown Certificate error ... ok
Testing the POST repositories/ API with Unknown Certificate error and trust_host=1 ... ok
Testing the POST repositories/ API with Unknown Host Key error ... ok
Testing the POST repositories/ API with Unknown Host Key error and trust_host=1 ... ok
Testing the PUT repositories/<id>/ API ... FAIL
Testing the PUT repositories/<id>/ API with no access ... ok
Testing the PUT repositories/<id>/ API with a local site ... FAIL
Testing the PUT repositories/<id>/ API with a local site and no access ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API ... FAIL
Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API with a local site ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API with a local site and Permission Denied error ... ok
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API ... ok
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/?counts-only=1 API ... ok
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff ... FAIL
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with a local site ... ok
Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API ... FAIL
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff ... FAIL
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with an issue ... FAIL
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with a local site ... ok
Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue ... FAIL
Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue ... FAIL
Testing the GET groups/<id>/ API with invite-only ... ok
Testing the GET groups/<id>/ API with invite-only and Permission Denied error ... ok
Testing the GET groups/<id>/ API ... ok
Testing the GET groups/<id>/ API with a local site ... ok
Testing the GET groups/<id>/ API with a local site and Permission Denied error ... ok
Testing the GET groups/ API ... ok
Testing the GET groups/?q= API ... ok
Testing the GET groups/ API with a local site ... ok
Testing the GET groups/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API ... ok
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site ... ok
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/diff-comments/ API with a local site and Permission Denied error ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/replies/<id>/ API ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site and Permission Denied error ... ok
Testing the GET review-requests/<id>/reviews/<id>/replies API ... ok
Testing the GET review-requests/<id>/reviews/<id>/replies/?counts-only=1 API ... ok
Testing the GET review-requests/<id>/reviews/<id>/replies/ API with a local site ... ok
Testing the GET review-requests/<id>/reviews/<id>/replies/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/ API ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/ API with body_bottom ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/ API with body_top ... ok
Testing the POST review-requsets/<id>/reviews/<id>/replies/ API with a local site ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/ API ... ok
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/?public=1 API ... ok
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site ... ok
Testing the PUT review-requests/<id>/reviews/<id>/replies/<id>/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/screenshot-comments/ API ... ok
Testing the POST review-requests/<id>/reviews/<id>/replies/<id>/screenshot-comments/ API with a local site ... ok
Testing the DELETE review-requests/<id>/draft/ API ... ok
Testing the DELETE review-requests/<id>/draft/ API with a local site ... ok
Testing the DELETE review-requests/<id>/draft/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/draft/ API ... ok
Testing the POST review-requests/<id>/draft/ API with a local site ... ok
Testing the POST review-requests/<id>/draft/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/draft/ API ... ok
Testing the PUT review-requests/<id>/draft/?public=1 API ... ok
Testing the PUT review-requests/<id>/draft/?public=1 API with a new review request ... ok
Testing the PUT review-requests/<id>/draft/ API with a change description ... ok
Testing the PUT review-requests/<id>/draft/ API with Invalid Form Data error ... ok
Testing the PUT review-requests/<id>/draft/ API with Permission Denied error ... ok
Testing the PUT review-requests/<id>/draft/ API with a local site ... ok
Testing the PUT review-requests/<id>/draft/ API with a local site and Permission Denied error ... ok
Testing the DELETE review-requests/<id>/ API ... ok
Testing the DELETE review-requests/<id>/ API with Does Not Exist error ... ok
Testing the DELETE review-requests/<id>/ API with Permission Denied error ... ok
Testing the DELETE review-requests/<id>/ API with a lotal site ... ok
Testing the GET review-requests/<id>/ API ... ok
Testing the GET review-requests/<id>/ API with invite-only group and Permission Denied error ... ok
Testing the GET review-requests/<id>/ API with invite-only group and target user ... ok
Testing the GET review-requests/<id>/ API with non-public and Permission Denied error ... ok
Testing the GET review-requests/?repository=&changenum= API ... ok
Testing the GET review-requests/<id>/ API with a local site ... ok
Testing the GET review-requests/<id>/ API with a local site and Permission Denied error ... ok
Testing the GET review-requests/ API ... ok
Testing the GET review-requests/?counts-only=1 API ... ok
Testing the GET review-requests/?from-user= API ... ok
Testing the GET review-requests/?from-user=&counts-only=1 API ... ok
Testing the GET review-requests/?from-user=&status= API ... ok
Testing the GET review-requests/?last-updated-from= API ... ok
Testing the GET review-requests/?last-updated-to= API ... ok
Testing the GET review-requests/ API with a local site ... ok
Testing the GET review-requests/ API with a local site and Permission Denied error ... ok
Testing the GET review-requests/?status= API ... ok
Testing the GET review-requests/?time-added-from= API ... ok
Testing the GET review-requests/?time-added-to= API ... ok
Testing the GET review-requests/?to-groups= API ... ok
Testing the GET review-requests/?to-groups=&counts-only=1 API ... ok
Testing the GET review-requests/?to-groups=&status= API ... ok
Testing the GET review-requests/?to-users= API ... ok
Testing the GET review-requests/?to-users=&counts-only=1 API ... ok
Testing the GET review-requests/?to-users=&status= API ... ok
Testing the GET review-requests/?to-users-directly= API ... ok
Testing the GET review-requests/?to-users-directly=&counts-only=1 API ... ok
Testing the GET review-requests/?to-users-directly=&status= API ... ok
Testing the POST review-requests/ API ... ok
Testing the POST review-requests/ API with Invalid Repository error ... ok
Testing the POST review-requests/ API with Invalid Repository error from a site-local repository ... ok
Testing the POST review-requests/ API with a repository name ... ok
Testing the POST review-requests/ API with a local site ... ok
Testing the POST review-requests/ API with a local site and Invalid Repository error ... ok
Testing the POST review-requests/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/?submit_as= API ... ok
Testing the POST review-requests/?submit_as= API with Permission Denied error ... ok
Testing the PUT review-requests/<id>/?status=discarded API ... ok
Testing the PUT review-requests/<id>/?status=discarded API with Permission Denied ... ok
Testing the PUT review-requests/<id>/?status=pending API ... ok
Testing the PUT review-requests/<id>/?status=submitted API ... ok
Testing the PUT review-requests/<id>/?status=submitted API with a local site ... ok
Testing the PUT review-requests/<id>/?status=submitted API with a local site and Permission Denied error ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/ API ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/ API with Does Not Exist error ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/ API with a local site ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/ API with a local site and Permission Denied error ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/ API with Permission Denied error ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/ API with pre-published review ... ok
Testing the GET review-requests/<id>/reviews/ API ... ok
Testing the GET review-requests/<id>/reviews/?counts-only=1 API ... ok
Testing the GET review-requests/<id>/reviews/ API with a local site ... ok
Testing the GET review-requests/<id>/reviews/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/reviews/ API ... ok
Testing the POST review-requests/<id>/reviews/ API with a local site ... ok
Testing the POST review-requests/<id>/reviews/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/reviews/<id>/ API ... ok
Testing the PUT review-requests/<id>/reviews/<id>/?public=1 API ... ok
Testing the PUT review-requests/<id>/reviews/<id>/ API with pre-published review ... ok
Testing the PUT review-requests/<id>/reviews/<id>/ API with a local site ... ok
Testing the PUT review-requests/<id>/reviews/<id>/ API with a local site and Permission Denied error ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id>/ API ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id>/ API with Does Not Exist error ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with a local site ... ok
Testing the DELETE review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API with an issue ... ok
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API ... ok
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API with a local site ... ok
Testing the POST review-requests/<id>/reviews/<id>/screenshot-comments/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with an issue ... ok
Testing the PUT review-requests/<id>/reviews/<id>/screenshot-comments/<id> API with an issue ... ok
Testing the GET review-requests/<id>/screenshots/<id>/comments/ API ... ok
Testing the GET review-requests/<id>/screenshots/<id>/comments/ API with a local site ... ok
Testing the GET review-requests/<id>/screenshots/<id>/comments/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/draft/screenshots/ API ... ok
Testing the POST review-requests/<id>/draft/screenshots/ API with Permission Denied error ... ok
Testing the POST review-requests/<id>/draft/screenshots/ API with a local site ... ok
Testing the POST review-requests/<id>/draft/screenshots/ API with a local site and Permission Denied error ... ok
Testing the PUT review-requests/<id>/draft/screenshots/<id>/ API ... ok
Testing the PUT review-requests/<id>/draft/screenshots/<id>/ API with a local site ... ok
Testing the PUT review-requests/<id>/draft/screenshots/<id>/ API with a local site and Permission Denied error ... ok
Testing the POST review-requests/<id>/screenshots/ API ... ok
Testing the POST review-requests/<id>/screenshots/ API with Permission Denied error ... ok
Testing the POST review-requests/<id>/screenshots/ API with a local site ... ok
Testing the POST review-requests/<id>/screenshots/ API with a local site and Permission Denied error ... ok
Testing the GET info/ API ... ok
Testing the GET info/ API with a local site ... ok
Testing the GET info/ API with a local site and Permission Denied error ... ok
Testing the GET session/ API with anonymous user ... ok
Testing the GET session/ API with logged in user ... ok
Testing the GET session/ API with a local site ... ok
Testing the GET session/ API with a local site and Permission Denied error ... ok
Testing the GET users/<username>/ API with a local site ... ok
Testing the GET users/<username>/ API ... ok
Testing the GET users/<username>/ API with a local site ... ok
Testing the GET users/<username>/ API with a local site and private profile ... ok
Testing the GET users/<username>/ API with a local site and Permission Denied error. ... ok
Testing the GET users/ API ... ok
Testing the GET users/?q= API ... ok
Testing the GET users/ API with a local site ... ok
Testing the GET users/ API with a local site and Permission Denied error ... ok
Testing the DELETE users/<username>/watched/review-groups/<id>/ API ... ok
Testing the DELETE users/<username>/watched/review-groups/<id>/ API with Does Not Exist error ... ok
Testing the DELETE users/<username>/watched/review-groups/<id>/ API with a local site ... ok
Testing the DELETE users/<username>/watched/review-groups/<id>/ API with a local site and Permission Denied error ... ok
Testing the GET users/<username>/watched/review-groups/ API ... ok
Testing the GET users/<username>/watched/review-groups/ API with a local site ... ok
Testing the GET users/<username>/watched/review-groups/ API with a local site and Permission Denied error ... ok
Testing the POST users/<username>/watched/review-groups/ API ... ok
Testing the POST users/<username>/watched/review-groups/ API with Does Not Exist error ... ok
Testing the POST users/<username>/watched/review-groups/ API with a local site ... ok
Testing the POST users/<username>/watched/review-groups/ API with a local site and Does Not Exist error ... ok
Testing the POST users/<username>/watched/review-groups/ API with a local site and Permission Denied error ... ok
Testing the DELETE users/<username>/watched/review_request/ API ... ok
Testing the DELETE users/<username>/watched/review_request/ API with Does Not Exist error ... ok
Testing the DELETE users/<username>/watched/review_request/ API with a local site ... ok
Testing the DELETE users/<username>/watched/review_request/ API with a local site and Permission Denied error ... ok
Testing the GET users/<username>/watched/review_request/ API ... ok
Testing the GET users/<username>/watched/review_request/ API with a local site ... ok
Testing the GET users/<username>/watched/review_request/ API with a local site and Does Not Exist error ... ok
Testing the GET users/<username>/watched/review_request/ API with a local site and Permission Denied error ... ok
Testing the POST users/<username>/watched/review_request/ API ... ok
Testing the POST users/<username>/watched/review_request/ with Does Not Exist error ... ok
Testing the POST users/<username>/watched/review_request/ API with a local site ... ok
Testing the POST users/<username>/watched/review_request/ API with a local site and Does Not Exist error ... ok
Testing the POST users/<username>/watched/review_request/ API with a local site and Permission Denied error ... ok

======================================================================
ERROR: Testing CVSTool.get_file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 323, in testGetFile
    self.assertEqual(self.tool.get_file(file, rev), expected)
  File "C:\src\reviewboard\reviewboard\scmtools\cvs.py", line 48, in get_file
    return self.client.cat_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\cvs.py", line 248, in cat_file
    return self._cat_specific_file(filename, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\cvs.py", line 299, in _cat_specific_file
    raise SCMError(errmsg)
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

  RandomPool_DeprecationWarning)

Unknown exception during connect: (11004, 'getaddrinfo failed') (<class 'socket.gaierror'>)

cvs [checkout aborted]: end of file from server (consult above messages if any)



======================================================================
ERROR: Testing SVNTool.get_file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 489, in testGetFile
    self.assertEqual(self.tool.get_file(file, rev), expected)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\scmtools\testdata/svn_repo/trunk/doc/misc-docs/Makefile'

======================================================================
ERROR: Testing parsing SVN diff with keywords
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 566, in testKeywordDiff
    file = self.tool.get_file(filename, rev)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\scmtools\testdata/svn_repo/trunk/doc/misc-docs/Makefile'

======================================================================
ERROR: Testing parsing SVN diff with unterminated keywords
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\scmtools\tests.py", line 588, in testUnterminatedKeywordDiff
    file = self.tool.get_file(filename, rev)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\scmtools\testdata/svn_repo/trunk/doc/misc-docs/Makefile'

======================================================================
FAIL: Testing new_review_request view (uploading diffs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\reviews\tests.py", line 284, in testNewReviewRequest1
    self.assertEqual(response.status_code, 302)
AssertionError: 200 != 302

======================================================================
FAIL: Testing the POST review-requests/<id>/diffs/ API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3925, in test_post_diffs
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x04BB8218>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the GET repositories/<id>/info API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 880, in test_get_repository_info
    rsp = self.apiGet(self.get_url(self.repository))
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 98, in apiGet
    expected_redirects)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
    self.assertEqual(response.status_code, expected_status)
AssertionError: 500 != 200
-------------------- >> begin captured stdout << ---------------------
GETing /api/repositories/5/info/
Query data: {}

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: Testing the GET repositories/<id>/info API with a local site
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 892, in test_get_repository_info_with_site
    rsp = self.apiGet(self.get_url(self.repository, self.local_site_name))
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 98, in apiGet
    expected_redirects)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
    self.assertEqual(response.status_code, expected_status)
AssertionError: 500 != 200
-------------------- >> begin captured stdout << ---------------------
GETing /s/local-site-1/api/repositories/5/info/
Query data: {}

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: Testing the POST repositories/ API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 520, in test_post_repository
    self._post_repository(False)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 803, in _post_repository
    }, **data), expected_status=expected_status)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/repositories/
Post data: {'path': 'file://C:\\src\\reviewboard\\reviewboard\\scmtools\\testdata\\svn_repo', 'tool': 'Subversion', 'name': 'Test Repository'}
Raw response: {"stat": "fail", "err": {"msg": "There was no repository found at the specified path", "code": 205}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
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
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the POST repositories/ API with all available info
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 722, in test_post_repository_full_info
    'raw_file_url': 'http://example.com/<filename>/<version>',
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 803, in _post_repository
    }, **data), expected_status=expected_status)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/repositories/
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/'}
Raw response: {"stat": "fail", "err": {"msg": "There was no repository found at the specified path", "code": 205}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
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
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the POST repositories/ API with a local site
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 710, in test_post_repository_with_site
    self._post_repository(True)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 803, in _post_repository
    }, **data), expected_status=expected_status)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /s/local-site-1/api/repositories/
Post data: {'path': 'file://C:\\src\\reviewboard\\reviewboard\\scmtools\\testdata\\svn_repo', 'tool': 'Subversion', 'name': 'Test Repository'}
Raw response: {"stat": "fail", "err": {"msg": "There was no repository found at the specified path", "code": 205}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
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
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the PUT repositories/<id>/ API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 745, in test_put_repository
    'raw_file_url': 'http://example.com/<filename>/<version>',
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 829, in _put_repository
    }, **data), expected_status=expected_status)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 131, in apiPut
    expected_redirects)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 200
-------------------- >> begin captured stdout << ---------------------
PUTing to /api/repositories/1/
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}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
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
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the PUT repositories/<id>/ API with a local site
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 758, in test_put_repository_with_site
    'raw_file_url': 'http://example.com/<filename>/<version>',
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 829, in _put_repository
    }, **data), expected_status=expected_status)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 131, in apiPut
    expected_redirects)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 77, in api_func_wrapper
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 200
-------------------- >> begin captured stdout << ---------------------
PUTing to /s/local-site-1/api/repositories/4/
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}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
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
Local URL 'file://C:\src\reviewboard\reviewboard\scmtools\testdata\svn_repo' contains only a hostname, no path
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the DELETE review-requests/<id>/reviews/<id>/diff-comments/<id>/ API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2842, in test_delete_diff_comment_with_interdiff
    self._common_post_interdiff_comments(comment_text)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3003, in _common_post_interdiff_comments
    rsp = self._postNewDiff(review_request)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E4A0>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the GET review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2825, in test_get_diff_comments_with_interdiff
    self._common_post_interdiff_comments(comment_text)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3003, in _common_post_interdiff_comments
    rsp = self._postNewDiff(review_request)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E770>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2744, in test_post_diff_comments
    rsp = self._postNewDiff(review_request)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E8D8>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with interdiff
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2810, in test_post_diff_comments_with_interdiff
    self._common_post_interdiff_comments(comment_text)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 3003, in _common_post_interdiff_comments
    rsp = self._postNewDiff(review_request)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E8D8>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the POST review-requests/<id>/reviews/<id>/diff-comments/ API with an issue
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2889, in test_post_diff_comments_with_issue
    rsp = self._postNewDiff(review_request)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E8D8>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2950, in test_update_diff_comment_issue_status
    rsp = self._postNewDiff(review_request)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0E9F8>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: Testing the PUT review-requests/<id>/reviews/<id>/diff-comments/<id> API with an issue
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 2922, in test_update_diff_comment_with_issue
    rsp = self._postNewDiff(review_request)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 395, in _postNewDiff
    'basedir': "/trunk",
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 119, in apiPost
    rsp, result = self.api_post_with_response(*args, **kwargs)
  File "C:\src\reviewboard\reviewboard\webapi\tests.py", line 114, in api_post_with_response
    self.assertEqual(response.status_code, expected_status)
AssertionError: 400 != 201
-------------------- >> begin captured stdout << ---------------------
POSTing to /api/review-requests/
Post data: {'repository': 'file://C:\\src\\reviewboard\\reviewboard\\webapi\\../scmtools/testdata/svn_repo'}
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}}
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}}
POSTing to /api/review-requests/10/diffs/
Post data: {'path': <open file 'C:\src\reviewboard\reviewboard\scmtools\testdata\svn_makefile.diff', mode 'r' at 0x03B0EF08>, 'basedir': '/trunk'}
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}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: ERROR: Error uploading new diff: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
Traceback (most recent call last):
  File "C:\src\reviewboard\reviewboard\webapi\resources.py", line 1449, in create
    request.FILES.get('parent_diff_path'))
  File "C:\src\reviewboard\reviewboard\reviews\forms.py", line 286, in create
    history)
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
  File "C:\src\reviewboard\reviewboard\diffviewer\forms.py", line 149, in _process_files
    not tool.file_exists(filename, revision))):
  File "C:\src\reviewboard\reviewboard\scmtools\core.py", line 70, in file_exists
    self.get_file(path, revision)
  File "C:\src\reviewboard\reviewboard\scmtools\svn.py", line 148, in get_file
    raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file://C:\src\reviewboard\reviewboard\webapi\../scmtools/testdata/svn_repo/trunk/doc/misc-docs/Makefile'
--------------------- >> end captured logging << -Creating test database for alias 'default'...
Destroying test database for alias 'default'...
--------------------

----------------------------------------------------------------------
Ran 432 tests in 341.723s

FAILED (SKIP=23, errors=4, failures=16)