Update to use more of Djblets's new API and testing support.
Review Request #7499 — Created July 7, 2015 and submitted
More of Review Board's code has moved into Djblets in recent changes,
which allows us to remove a lot of code from Review Board. This impacts
the API resources and the unit testing code.It also removes a redundant call to
initialize()
in the base API
testcase, which is already called in the base Review Board testcase.
All unit tests pass.
Description | From | Last Updated |
---|---|---|
'copy' imported but unused |
reviewbot | |
'sys' imported but unused |
reviewbot | |
'serializers' imported but unused |
reviewbot | |
'IntegrityError' imported but unused |
reviewbot | |
'connections' imported but unused |
reviewbot | |
'DEFAULT_DB_ALIAS' imported but unused |
reviewbot | |
'DatabaseError' imported but unused |
reviewbot | |
'router' imported but unused |
reviewbot | |
'get_apps' imported but unused |
reviewbot | |
'Q' imported but unused |
reviewbot | |
'initialize' imported but unused |
reviewbot |
- Change Summary:
-
Fixed all the unused imports.
- Commit:
-
f2dcadfb8fb936a6c9ac777c8f9eda71fcfc0d899d7d7fde29c69273914fc928a684400e45c14fbc