diff --git a/tests/test_integrated_channels/test_api/test_blackboard/test_views.py b/tests/test_integrated_channels/test_api/test_blackboard/test_views.py index c5fc03346f..112dd85dc1 100644 --- a/tests/test_integrated_channels/test_api/test_blackboard/test_views.py +++ b/tests/test_integrated_channels/test_api/test_blackboard/test_views.py @@ -214,7 +214,7 @@ def test_global_config_get(self, mock_current_request): assert not data.get('results')[0].get('app_secret') self.assertTrue(hasattr(self.global_config, 'decrypted_app_secret')) - self.assertTrue(self.global_config.encrypted_app_secret is not None) + self.assertIsNotNone(self.global_config.encrypted_app_secret) self.global_config.decrypted_app_secret = '' self.global_config.save() self.assertTrue(hasattr(self.global_config, 'decrypted_app_secret'))