def test_autosetup(): autosetup() # a way to check whether model in base was registered, could # we make this a bit less low-level? assert app.traject(['foo']) == (get_foo, [], {})
def test_autosetup(): autosetup() # a way to check whether model in base was registered, could # we make this a bit less low-level? assert app.traject.consume(['foo']) is not None