Add unit tests for ReviewRequestPageData and the entries.

Review Request #9044 — Created June 29, 2017 and submitted

chipx86
Review Board
release-3.0.x
bf9a0c8...
reviewboard

This adds tests that ensure all the data generated by
ReviewRequestPageData is what we'd expect, and that te entries
behave/render correctly.

These tests caught a couple of small issues with status updates (both
data collecting and rendering with URLs without URL text, which have
been fixed in this change.

Unit tests pass.

Description From Last Updated

F401 'django.contrib.auth.models.User' imported but unused

reviewbotreviewbot

F401 'reviewboard.reviews.models.ReviewRequest' imported but unused

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (08c1e3e)
Loading...