I saw this annotation in other code, and it looks neater:     @unittest.skipUnless(settings.MITX_FEATURES.get('AUTH_USE_OPENID') or settings.MITX_FEATURES.get('...'), True)