Disable JavaScript extensions when running unit tests.

Review Request #4795 — Created Oct. 18, 2013 and submitted

Information

Review Board
master

Reviewers

Disable JavaScript extensions when running unit tests.

Extensions can interfere with the unit test suite, so make sure they're
not initialized on the js-tests page.

Note that a TemplateHook can still pose a problem, but that's a problem
for another day.

Ran unit tests with my severity extension active, which was breaking
the comment dialog tests. No longer.

reviewbot
  1. This is a review from Review Bot.
    Tool: PEP8 Style Checker
    Processed Files:
    Ignored Files:
    reviewboard/templates/js/tests.html
    reviewboard/templates/base.html

  2. 
      
reviewbot
  1. This is a review from Review Bot.
    Tool: Pyflakes
    Processed Files:
    Ignored Files:
    reviewboard/templates/js/tests.html
    reviewboard/templates/base.html

  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...