The test view may not be called when running the tests with --parallel=2 or greater. Catch the AttributeError for this case.