Fix a unit test breakage with Perforce.
Fix a unit test breakage with Perforce.

The unit tests weren't updated for a function rename. This change
existed locally but was never pushed.

reviewboard/reviewboard,reviewboard/reviewboard,brennie/reviewboard,reviewboard/reviewboard,chipx86/reviewboard,brennie/reviewboard,chipx86/reviewboard,chipx86/reviewboard,brennie/reviewboard,brennie/reviewboard,chipx86/reviewboard,reviewboard/reviewboard