summaryrefslogtreecommitdiff
path: root/objectapp/tests/custom_spam_checker.py
blob: 16ccea480c5a1f604891952705f6adeb556675f7 (plain)
1
2
3
4
5
6
7
8
9
10
"""Custom spam checker backend for testing Objectapp"""
from django.core.exceptions import ImproperlyConfigured


raise ImproperlyConfigured('This backend only exists for testing')


def backend(gbobject):
    """Custom spam checker backend for testing Objectapp"""
    return False