[tests] dummy domain test (you can use this example in your own domain)
This commit is contained in:
parent
cf98b08fa5
commit
a2d79f49b9
|
@ -156,3 +156,4 @@ def domain(domain, delete, update, create, read): #, domains, read, create, upd
|
|||
default=ORJSONResponse.default_cast)
|
||||
)
|
||||
|
||||
sys.exit(0)
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
from halfapi.testing.test_domain import TestDomain
|
||||
from dummy_domain import __name__, __routers__
|
||||
from pprint import pprint
|
||||
|
||||
class TestDummyDomain(TestDomain):
|
||||
DOMAIN = __name__
|
||||
ROUTERS = __routers__
|
||||
|
||||
def test_domain(self):
|
||||
self.check_domain()
|
Loading…
Reference in New Issue