Add some very simple tests for the parse() methods in diffviewer models.
Review Request #4643 — Created Sept. 24, 2013 and submitted
Add some very simple tests for the parse() methods in diffviewer models.
The diff viewer has several new models that aggregate bits of data required to
build the page. This change adds unit tests for the parse() methods, which
convert the names in the webapi into javascript-style camelCase names.
Ran js-tests.
Description | From | Last Updated |
---|---|---|
'from settings_local import *' used; unable to detect undefined names |
reviewbot |
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/settings.py
Ignored Files:
reviewboard/static/rb/js/diffviewer/models/tests/diffRevisionModelTests.js
reviewboard/static/rb/js/diffviewer/models/tests/diffFileModelTests.js
reviewboard/static/rb/js/pages/models/diffViewerPageModel.js
reviewboard/static/rb/js/diffviewer/models/diffCommentsHintModel.js
reviewboard/static/rb/js/diffviewer/models/diffFileModel.js
reviewboard/static/rb/js/diffviewer/models/tests/paginationModelTests.js -