def test_autoconfig(): c = autoconfig() c.commit() # a way to check whether model in base was registered, could # we make this a bit less low-level? assert App.registry.traject.consume(['foo']) is not None assert UnderscoreApp.registry.traject.consume(['foo']) is not None
def test_autoconfig(): c = autoconfig() c.commit() # 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, [], {})