Fix RelatedUserWidget regressions from recent avatar changes.

Review Request #10608 — Created June 22, 2019 and submitted

Information

Review Board
release-4.0.x

Reviewers

The RelatedUserWidget HTML includes information on user avatars for
rendering purposes. Recently, Djblets avatar rendering was updated to
provide HTML instead of just URLs for this widget, in order to support
the fallback avatar service. This regressed some tests we had only on
Review Board 4.0.

This change updates the HTML comparison in a test for the new rendering.

Unit tests pass against Django 1.6 and 1.11.

Summary ID
Fix RelatedUserWidget regressions from recent avatar changes.
The `RelatedUserWidget` HTML includes information on user avatars for rendering purposes. Recently, Djblets avatar rendering was updated to provide HTML instead of just URLs for this widget, in order to support the fallback avatar service. This regressed some tests we had only on Review Board 4.0. This change updates the HTML comparison in a test for the new rendering.
73fcccb811fd6a8e152e2f0d7298eaf16ab416ce
Description From Last Updated

E501 line too long (117 > 79 characters)

reviewbotreviewbot

E501 line too long (107 > 79 characters)

reviewbotreviewbot

E501 line too long (109 > 79 characters)

reviewbotreviewbot

E501 line too long (117 > 79 characters)

reviewbotreviewbot

E501 line too long (107 > 79 characters)

reviewbotreviewbot

E501 line too long (109 > 79 characters)

reviewbotreviewbot

E501 line too long (117 > 79 characters)

reviewbotreviewbot

E501 line too long (107 > 79 characters)

reviewbotreviewbot

E501 line too long (109 > 79 characters)

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

flake8

david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (e533e0a)