Default Action Tests for Read-Only Mode

Review Request #8861 - Created March 31, 2017 and updated

Kanghee Park
Review Board
8810, 8811, 8657, 8812, 8824, 8847, 8648
reviewboard, students

Read-only mode is a setting an admin can enable to prevent writes to
the database. This can be used when the site is under maintenence or
being upgraded. This commit adds testing for changes to the action
buttons visible in the tabs of a review request.

Run pytests - all pass except some known errors

  • 1
  • 0
  • 27
  • 1
  • 29
Description From Last Updated
When you do: class Foo: @add_fixtures(['..']) def test_foo(self): pass it is actually equivalent to: class Foo: def test_foo(self): pass test_foo ... Barret Rennie Barret Rennie
Kanghee Park
Simon Zhang
Barret Rennie
Joyce Zhou
Kanghee Park
Barret Rennie
Kanghee Park
Review request changed

Checks run (2 succeeded, 1 failed with error)

Pyflakes passed.
PEP8 Style Checker internal error.
JSHint passed.