JSHint
passed.
PEP8 Style Checker
passed.
Pyflakes
failed.
Review Request #8884 — Created April 6, 2017 and submitted
During unit tests, it is possible that the
oauth2_providermodule's
admin registrations won't happen before we go to remove their
registration for theApplicationmodel to replace it with our own. We
now import the module (purely for side effects) in ouroauth.admin
module to ensure that happens.
Ran unit tests.
Replace
import # NOQAwithimportlib.import_module
Revision 2 (+7 -1)