'Test the RequireDebugTrue filter class.'

def test_require_debug_true_filter(self):

    filter_ = RequireDebugTrue()
    with self.settings(DEBUG=True):
        self.assertEqual(filter_.filter(u'record    is    not    used'), True)
    with self.settings(DEBUG=False):
        self.assertEqual(filter_.filter(u'record    is    not    used'), False)
