コード例 #1
0
ファイル: tests.py プロジェクト: Pylons/pyramid_routehelper
 def _create_config(self, autocommit=True):
     config = Configurator(autocommit=autocommit)
     includeme(config)
     return config
コード例 #2
0
ファイル: tests.py プロジェクト: yeeland/pyramid_routehelper
 def _create_config(self, autocommit=True):
     config = Configurator(autocommit=autocommit)
     includeme(config)
     return config
コード例 #3
0
ファイル: tests.py プロジェクト: Pylons/pyramid_routehelper
 def test_includme(self):
     config = Configurator(autocommit=True)
     includeme(config)
     assert config.add_resource.im_func.__docobj__ is add_resource
コード例 #4
0
ファイル: tests.py プロジェクト: yeeland/pyramid_routehelper
 def test_includme(self):
     config = Configurator(autocommit=True)
     includeme(config)
     assert config.add_resource.im_func.__docobj__ is add_resource