summaryrefslogtreecommitdiff
path: root/repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-05-31 23:14:28 +0000
committerChris McDonough <chrism@agendaless.com>2009-05-31 23:14:28 +0000
commit73db65c9d1a257e46b49643f63ff0ef96d7a5745 (patch)
tree2ebf4362967c1bbcf9ab05bbc5d947b4c6fc2fa3 /repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl
parentb2e9bfae66a30b292bd76a287d16505a9b3ecce0 (diff)
downloadpyramid-73db65c9d1a257e46b49643f63ff0ef96d7a5745.tar.gz
pyramid-73db65c9d1a257e46b49643f63ff0ef96d7a5745.tar.bz2
pyramid-73db65c9d1a257e46b49643f63ff0ef96d7a5745.zip
- The ``bfg_routesalchemy`` paster template now provides a unit test
and actually uses the database during a view rendering.
Diffstat (limited to 'repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl')
-rw-r--r--repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl b/repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl
index 43d25fb06..e3a3e0e88 100644
--- a/repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl
+++ b/repoze/bfg/paster_templates/routesalchemy/setup.py_tmpl
@@ -14,6 +14,7 @@ requires = [
'repoze.bfg',
'SQLAlchemy',
'transaction',
+ 'repoze.tm2',
'zope.sqlalchemy',
]
@@ -40,6 +41,7 @@ setup(name='{{project}}',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
+ test_suite='{{package}}',
install_requires = requires,
entry_points = """\
[paste.app_factory]