Ensure djblets.log.tests runs correctly when run standalone

Review Request #9503 - Created Jan. 20, 2018 and submitted

Barret Rennie
Djblets
release-1.0.x
8214a1a...
djblets

Running ./tests/runtests.py djblets.log.tests would fail due to the
djblets.log.middleware module (which replaces the default debug cursor
wrapper with our own that includes stack traces) was not being imported.
We now just import the module to ensure the code is run.

Ran unit tests, both standalone and entire suite.

Rodger Waldron
  1. Looks good. Comments will let anyone who see's it beware of importing it for future test cases. Ship it!

  2. 
      
David Trowbridge
  1. Ship It!
  2. 
      
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (7cda33e)
Loading...