diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-10 02:19:59 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-10 02:19:59 -0700 |
| commit | 63dcf93491fc9f5a7361d82240111446af0ca7ee (patch) | |
| tree | 78ee3a0cd41b3d72d451a13f7777d673e95d90c3 /docs/tutorials/wiki/src/tests/setup.py | |
| parent | 3bcf6edfbc1158c1e4185c62db6914ae0e0c7665 (diff) | |
| download | pyramid-63dcf93491fc9f5a7361d82240111446af0ca7ee.tar.gz pyramid-63dcf93491fc9f5a7361d82240111446af0ca7ee.tar.bz2 pyramid-63dcf93491fc9f5a7361d82240111446af0ca7ee.zip | |
- update wiki tests step and its src files
- add test_referrer_is_login() to provide 100% coverage
Diffstat (limited to 'docs/tutorials/wiki/src/tests/setup.py')
| -rw-r--r-- | docs/tutorials/wiki/src/tests/setup.py | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/tutorials/wiki/src/tests/setup.py b/docs/tutorials/wiki/src/tests/setup.py index b67b702cf..b8ae1fa3f 100644 --- a/docs/tutorials/wiki/src/tests/setup.py +++ b/docs/tutorials/wiki/src/tests/setup.py @@ -18,7 +18,12 @@ requires = [ 'ZODB3', 'waitress', 'docutils', - 'WebTest', # add this + ] + +testing_extras = [ + 'WebTest >= 1.3.1', # py3 compat + 'pytest', # includes virtualenv + 'pytest-cov', ] setup(name='tutorial', @@ -26,11 +31,11 @@ setup(name='tutorial', description='tutorial', long_description=README + '\n\n' + CHANGES, classifiers=[ - "Programming Language :: Python", - "Framework :: Pyramid", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", - ], + "Programming Language :: Python", + "Framework :: Pyramid", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", + ], author='', author_email='', url='', @@ -38,9 +43,10 @@ setup(name='tutorial', packages=find_packages(), include_package_data=True, zip_safe=False, + extras_require={ + 'testing': testing_extras, + }, install_requires=requires, - tests_require=requires, - test_suite="tutorial", entry_points="""\ [paste.app_factory] main = tutorial:main |
