10 lines
359 B
Python
10 lines
359 B
Python
from django.test import TestCase
|
|
|
|
from .ualist_backers import ConfigBackedUAList
|
|
from .middleware import load_backing_class
|
|
|
|
# Create your tests here.
|
|
class BackerConfigTestCase(TestCase):
|
|
def test_config_produces_object(self):
|
|
obj = load_backing_class("ai_blocker.ualist_backers.ConfigBackedUAList")
|
|
self.assertIs(obj, ConfigBackedUAList) |