2021-11-30 11:20:26 +01:00
|
|
|
import importlib
|
2023-02-23 02:51:28 +01:00
|
|
|
from halfapi.testing.test_domain import TestDomain
|
2021-11-30 11:20:26 +01:00
|
|
|
|
2021-11-29 06:09:18 +01:00
|
|
|
def test_dummy_domain():
|
|
|
|
from . import dummy_domain
|
|
|
|
from .dummy_domain import acl
|
|
|
|
assert acl.public() is True
|
|
|
|
assert isinstance(acl.random(), int)
|
2021-12-13 12:40:40 +01:00
|
|
|
assert acl.private() is False
|
2021-11-30 11:20:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
from .dummy_domain import routers
|
|
|
|
from .dummy_domain.routers.arguments import get
|
|
|
|
from .dummy_domain.routers.abc.alphabet.TEST_uuid import get
|
|
|
|
from .dummy_domain.routers.abc.pinnochio import get
|
|
|
|
from .dummy_domain.routers.config import get
|
2022-02-10 12:30:49 +01:00
|
|
|
from .dummy_domain.routers.config import get
|
|
|
|
from .dummy_domain.routers import async_router
|
|
|
|
from .dummy_domain.routers.async_router import ROUTES, get_abc_alphabet_TEST, get_abc_pinnochio, get_config, get_arguments
|