flake8
 passed.
 
 
 JSHint
 passed.
 
Review Request #11315 — Created Dec. 4, 2020 and submitted
A few of our unit test helpers try to use our in-tree
logo.pngas test
data. This is used for screenshots and file attachments. The path to
this is built usingsettings.STATIC_ROOT, and in-tree, this works
fine. However, if run in an extension's unit test suite,
settings.STATIC_ROOTwon't point to the Review Board tree'sstatic
directory, causing these to fail.This change gets rid of the
STATIC_ROOTusage and instead computes the
actual path to the bundledstaticdirectory. This will ensure that
tests will work without having to worry aboutSTATIC_ROOT.
Unit tests pass in Review Board and in extension trees that were failing.
| Summary | ID | 
|---|---|
| 98f0fbc837b6b0fd68a535051e24a9cbd43748cc |