From 3550b26071e0f392ad67ece2ea5057a292bdc528 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 31 Aug 2014 21:48:21 +0200 Subject: [PATCH] Move tests --- MANIFEST.in | 5 +---- .../lib/python2.5/site-packages/SiteEgg.egg | Bin 1218 -> 0 bytes setup.py | 3 +-- {flask/testsuite => tests}/__init__.py | 0 {flask/testsuite => tests}/appctx.py | 0 {flask/testsuite => tests}/basic.py | 0 {flask/testsuite => tests}/blueprints.py | 0 {flask/testsuite => tests}/config.py | 0 {flask/testsuite => tests}/deprecations.py | 0 {flask/testsuite => tests}/examples.py | 0 {flask/testsuite => tests}/ext.py | 0 {flask/testsuite => tests}/helpers.py | 0 {flask/testsuite => tests}/regression.py | 0 {flask/testsuite => tests}/reqctx.py | 0 {flask/testsuite => tests}/signals.py | 0 {flask/testsuite => tests}/static/config.json | 0 {flask/testsuite => tests}/static/index.html | 0 {flask/testsuite => tests}/subclassing.py | 0 {flask/testsuite => tests}/templates/_macro.html | 0 .../templates/context_template.html | 0 .../templates/escaping_template.html | 0 {flask/testsuite => tests}/templates/mail.txt | 0 .../templates/nested/nested.txt | 0 .../templates/simple_template.html | 0 .../templates/template_filter.html | 0 .../templates/template_test.html | 0 {flask/testsuite => tests}/templating.py | 0 .../test_apps/blueprintapp/__init__.py | 0 .../test_apps/blueprintapp/apps/__init__.py | 0 .../blueprintapp/apps/admin/__init__.py | 0 .../blueprintapp/apps/admin/static/css/test.css | 0 .../blueprintapp/apps/admin/static/test.txt | 0 .../apps/admin/templates/admin/index.html | 0 .../blueprintapp/apps/frontend/__init__.py | 0 .../apps/frontend/templates/frontend/index.html | 0 .../test_apps/config_module_app.py | 0 .../test_apps/config_package_app/__init__.py | 0 .../test_apps/flask_broken/__init__.py | 0 .../test_apps/flask_broken/b.py | 0 .../test_apps/flask_newext_package/__init__.py | 0 .../test_apps/flask_newext_package/submodule.py | 0 .../test_apps/flask_newext_simple.py | 0 .../test_apps/flaskext/__init__.py | 0 .../flaskext/oldext_package/__init__.py | 0 .../flaskext/oldext_package/submodule.py | 0 .../test_apps/flaskext/oldext_simple.py | 0 .../testsuite => tests}/test_apps/importerror.py | 0 .../lib/python2.5/site-packages/site_app.py | 0 .../site-packages/site_package/__init__.py | 0 {flask/testsuite => tests}/test_apps/main_app.py | 0 .../test_apps/path/installed_package/__init__.py | 0 .../test_apps/subdomaintestmodule/__init__.py | 0 .../subdomaintestmodule/static/hello.txt | 0 {flask/testsuite => tests}/testing.py | 0 {flask/testsuite => tests}/views.py | 0 55 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg rename {flask/testsuite => tests}/__init__.py (100%) rename {flask/testsuite => tests}/appctx.py (100%) rename {flask/testsuite => tests}/basic.py (100%) rename {flask/testsuite => tests}/blueprints.py (100%) rename {flask/testsuite => tests}/config.py (100%) rename {flask/testsuite => tests}/deprecations.py (100%) rename {flask/testsuite => tests}/examples.py (100%) rename {flask/testsuite => tests}/ext.py (100%) rename {flask/testsuite => tests}/helpers.py (100%) rename {flask/testsuite => tests}/regression.py (100%) rename {flask/testsuite => tests}/reqctx.py (100%) rename {flask/testsuite => tests}/signals.py (100%) rename {flask/testsuite => tests}/static/config.json (100%) rename {flask/testsuite => tests}/static/index.html (100%) rename {flask/testsuite => tests}/subclassing.py (100%) rename {flask/testsuite => tests}/templates/_macro.html (100%) rename {flask/testsuite => tests}/templates/context_template.html (100%) rename {flask/testsuite => tests}/templates/escaping_template.html (100%) rename {flask/testsuite => tests}/templates/mail.txt (100%) rename {flask/testsuite => tests}/templates/nested/nested.txt (100%) rename {flask/testsuite => tests}/templates/simple_template.html (100%) rename {flask/testsuite => tests}/templates/template_filter.html (100%) rename {flask/testsuite => tests}/templates/template_test.html (100%) rename {flask/testsuite => tests}/templating.py (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/apps/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/apps/admin/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/apps/admin/static/css/test.css (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/apps/admin/static/test.txt (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/apps/admin/templates/admin/index.html (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/apps/frontend/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html (100%) rename {flask/testsuite => tests}/test_apps/config_module_app.py (100%) rename {flask/testsuite => tests}/test_apps/config_package_app/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/flask_broken/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/flask_broken/b.py (100%) rename {flask/testsuite => tests}/test_apps/flask_newext_package/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/flask_newext_package/submodule.py (100%) rename {flask/testsuite => tests}/test_apps/flask_newext_simple.py (100%) rename {flask/testsuite => tests}/test_apps/flaskext/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/flaskext/oldext_package/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/flaskext/oldext_package/submodule.py (100%) rename {flask/testsuite => tests}/test_apps/flaskext/oldext_simple.py (100%) rename {flask/testsuite => tests}/test_apps/importerror.py (100%) rename {flask/testsuite => tests}/test_apps/lib/python2.5/site-packages/site_app.py (100%) rename {flask/testsuite => tests}/test_apps/lib/python2.5/site-packages/site_package/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/main_app.py (100%) rename {flask/testsuite => tests}/test_apps/path/installed_package/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/subdomaintestmodule/__init__.py (100%) rename {flask/testsuite => tests}/test_apps/subdomaintestmodule/static/hello.txt (100%) rename {flask/testsuite => tests}/testing.py (100%) rename {flask/testsuite => tests}/views.py (100%) diff --git a/MANIFEST.in b/MANIFEST.in index f82ed054..3fef8b5b 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include Makefile CHANGES LICENSE AUTHORS run-tests.py +include Makefile CHANGES LICENSE AUTHORS recursive-include artwork * recursive-include tests * recursive-include examples * @@ -9,8 +9,5 @@ recursive-exclude tests *.pyc recursive-exclude tests *.pyo recursive-exclude examples *.pyc recursive-exclude examples *.pyo -recursive-include flask/testsuite/static * -recursive-include flask/testsuite/templates * -recursive-include flask/testsuite/test_apps * prune docs/_build prune docs/_themes/.git diff --git a/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg b/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg deleted file mode 100644 index d80abe9309fb1a9d0c4fce1fd76e87679282a012..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1218 zcmWIWW@Zs#U|`^2*i@|Uz;wUq#B3n%6cFX;jJGoR?{Kkt3Ux3^zEk*!FGo6E$(OtB+LU}ngynUfdIpE4;jX3_M? zGsB}6MkgkU<)*?p_uOI9m8szL6tXEP|qV1=vse3_t#S^V_I-b4$ zzW(eRn;Ub&6@*V*J$uIc^mYCZW!JxcDgJzX3gm$)b%*)?RnOF zUC;TGXHM%KTenJOzk;3mRvlAz6<#!VOlG@o#0<2b5r}1x-I0=7keZj0nwMM|pOcxF zT?}&2V48(%Sx&yo+-udjS>*?dE<9UVGTUYDcne&^246YbI_ymlm ztw9_>UzPg$KX;nQrFZtMugTxS3sC#m^5x3WYvV$zlMMB<}K6MufDxtZLf6euYpt#}$Vlia* zmE;%1=cJaU=77T)8obZZy@wn)DBi2eEYK}ZOiKj^2qTjSGw!qwv=t1NG=eDPlpo-Y z(1|U9LG&>&ENMK7suNiwwzP!MC=85NY$*%f1Z0nbQUMGsX`GF00=6`PZWMZwKp1rs z*(g{7LD!BRV+ie)Oh|q~i9d8RkbMJ+HW*maxC7Y?SR@8`v$BDdumj;Cpc`KS6)`XX E0770`LI3~& diff --git a/setup.py b/setup.py index 3500ad8c..a66118f1 100644 --- a/setup.py +++ b/setup.py @@ -117,6 +117,5 @@ setup( [console_scripts] flask=flask.cli:main ''', - cmdclass={'audit': run_audit}, - test_suite='flask.testsuite.suite' + cmdclass={'audit': run_audit} ) diff --git a/flask/testsuite/__init__.py b/tests/__init__.py similarity index 100% rename from flask/testsuite/__init__.py rename to tests/__init__.py diff --git a/flask/testsuite/appctx.py b/tests/appctx.py similarity index 100% rename from flask/testsuite/appctx.py rename to tests/appctx.py diff --git a/flask/testsuite/basic.py b/tests/basic.py similarity index 100% rename from flask/testsuite/basic.py rename to tests/basic.py diff --git a/flask/testsuite/blueprints.py b/tests/blueprints.py similarity index 100% rename from flask/testsuite/blueprints.py rename to tests/blueprints.py diff --git a/flask/testsuite/config.py b/tests/config.py similarity index 100% rename from flask/testsuite/config.py rename to tests/config.py diff --git a/flask/testsuite/deprecations.py b/tests/deprecations.py similarity index 100% rename from flask/testsuite/deprecations.py rename to tests/deprecations.py diff --git a/flask/testsuite/examples.py b/tests/examples.py similarity index 100% rename from flask/testsuite/examples.py rename to tests/examples.py diff --git a/flask/testsuite/ext.py b/tests/ext.py similarity index 100% rename from flask/testsuite/ext.py rename to tests/ext.py diff --git a/flask/testsuite/helpers.py b/tests/helpers.py similarity index 100% rename from flask/testsuite/helpers.py rename to tests/helpers.py diff --git a/flask/testsuite/regression.py b/tests/regression.py similarity index 100% rename from flask/testsuite/regression.py rename to tests/regression.py diff --git a/flask/testsuite/reqctx.py b/tests/reqctx.py similarity index 100% rename from flask/testsuite/reqctx.py rename to tests/reqctx.py diff --git a/flask/testsuite/signals.py b/tests/signals.py similarity index 100% rename from flask/testsuite/signals.py rename to tests/signals.py diff --git a/flask/testsuite/static/config.json b/tests/static/config.json similarity index 100% rename from flask/testsuite/static/config.json rename to tests/static/config.json diff --git a/flask/testsuite/static/index.html b/tests/static/index.html similarity index 100% rename from flask/testsuite/static/index.html rename to tests/static/index.html diff --git a/flask/testsuite/subclassing.py b/tests/subclassing.py similarity index 100% rename from flask/testsuite/subclassing.py rename to tests/subclassing.py diff --git a/flask/testsuite/templates/_macro.html b/tests/templates/_macro.html similarity index 100% rename from flask/testsuite/templates/_macro.html rename to tests/templates/_macro.html diff --git a/flask/testsuite/templates/context_template.html b/tests/templates/context_template.html similarity index 100% rename from flask/testsuite/templates/context_template.html rename to tests/templates/context_template.html diff --git a/flask/testsuite/templates/escaping_template.html b/tests/templates/escaping_template.html similarity index 100% rename from flask/testsuite/templates/escaping_template.html rename to tests/templates/escaping_template.html diff --git a/flask/testsuite/templates/mail.txt b/tests/templates/mail.txt similarity index 100% rename from flask/testsuite/templates/mail.txt rename to tests/templates/mail.txt diff --git a/flask/testsuite/templates/nested/nested.txt b/tests/templates/nested/nested.txt similarity index 100% rename from flask/testsuite/templates/nested/nested.txt rename to tests/templates/nested/nested.txt diff --git a/flask/testsuite/templates/simple_template.html b/tests/templates/simple_template.html similarity index 100% rename from flask/testsuite/templates/simple_template.html rename to tests/templates/simple_template.html diff --git a/flask/testsuite/templates/template_filter.html b/tests/templates/template_filter.html similarity index 100% rename from flask/testsuite/templates/template_filter.html rename to tests/templates/template_filter.html diff --git a/flask/testsuite/templates/template_test.html b/tests/templates/template_test.html similarity index 100% rename from flask/testsuite/templates/template_test.html rename to tests/templates/template_test.html diff --git a/flask/testsuite/templating.py b/tests/templating.py similarity index 100% rename from flask/testsuite/templating.py rename to tests/templating.py diff --git a/flask/testsuite/test_apps/blueprintapp/__init__.py b/tests/test_apps/blueprintapp/__init__.py similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/__init__.py rename to tests/test_apps/blueprintapp/__init__.py diff --git a/flask/testsuite/test_apps/blueprintapp/apps/__init__.py b/tests/test_apps/blueprintapp/apps/__init__.py similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/apps/__init__.py rename to tests/test_apps/blueprintapp/apps/__init__.py diff --git a/flask/testsuite/test_apps/blueprintapp/apps/admin/__init__.py b/tests/test_apps/blueprintapp/apps/admin/__init__.py similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/apps/admin/__init__.py rename to tests/test_apps/blueprintapp/apps/admin/__init__.py diff --git a/flask/testsuite/test_apps/blueprintapp/apps/admin/static/css/test.css b/tests/test_apps/blueprintapp/apps/admin/static/css/test.css similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/apps/admin/static/css/test.css rename to tests/test_apps/blueprintapp/apps/admin/static/css/test.css diff --git a/flask/testsuite/test_apps/blueprintapp/apps/admin/static/test.txt b/tests/test_apps/blueprintapp/apps/admin/static/test.txt similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/apps/admin/static/test.txt rename to tests/test_apps/blueprintapp/apps/admin/static/test.txt diff --git a/flask/testsuite/test_apps/blueprintapp/apps/admin/templates/admin/index.html b/tests/test_apps/blueprintapp/apps/admin/templates/admin/index.html similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/apps/admin/templates/admin/index.html rename to tests/test_apps/blueprintapp/apps/admin/templates/admin/index.html diff --git a/flask/testsuite/test_apps/blueprintapp/apps/frontend/__init__.py b/tests/test_apps/blueprintapp/apps/frontend/__init__.py similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/apps/frontend/__init__.py rename to tests/test_apps/blueprintapp/apps/frontend/__init__.py diff --git a/flask/testsuite/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html b/tests/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html similarity index 100% rename from flask/testsuite/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html rename to tests/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html diff --git a/flask/testsuite/test_apps/config_module_app.py b/tests/test_apps/config_module_app.py similarity index 100% rename from flask/testsuite/test_apps/config_module_app.py rename to tests/test_apps/config_module_app.py diff --git a/flask/testsuite/test_apps/config_package_app/__init__.py b/tests/test_apps/config_package_app/__init__.py similarity index 100% rename from flask/testsuite/test_apps/config_package_app/__init__.py rename to tests/test_apps/config_package_app/__init__.py diff --git a/flask/testsuite/test_apps/flask_broken/__init__.py b/tests/test_apps/flask_broken/__init__.py similarity index 100% rename from flask/testsuite/test_apps/flask_broken/__init__.py rename to tests/test_apps/flask_broken/__init__.py diff --git a/flask/testsuite/test_apps/flask_broken/b.py b/tests/test_apps/flask_broken/b.py similarity index 100% rename from flask/testsuite/test_apps/flask_broken/b.py rename to tests/test_apps/flask_broken/b.py diff --git a/flask/testsuite/test_apps/flask_newext_package/__init__.py b/tests/test_apps/flask_newext_package/__init__.py similarity index 100% rename from flask/testsuite/test_apps/flask_newext_package/__init__.py rename to tests/test_apps/flask_newext_package/__init__.py diff --git a/flask/testsuite/test_apps/flask_newext_package/submodule.py b/tests/test_apps/flask_newext_package/submodule.py similarity index 100% rename from flask/testsuite/test_apps/flask_newext_package/submodule.py rename to tests/test_apps/flask_newext_package/submodule.py diff --git a/flask/testsuite/test_apps/flask_newext_simple.py b/tests/test_apps/flask_newext_simple.py similarity index 100% rename from flask/testsuite/test_apps/flask_newext_simple.py rename to tests/test_apps/flask_newext_simple.py diff --git a/flask/testsuite/test_apps/flaskext/__init__.py b/tests/test_apps/flaskext/__init__.py similarity index 100% rename from flask/testsuite/test_apps/flaskext/__init__.py rename to tests/test_apps/flaskext/__init__.py diff --git a/flask/testsuite/test_apps/flaskext/oldext_package/__init__.py b/tests/test_apps/flaskext/oldext_package/__init__.py similarity index 100% rename from flask/testsuite/test_apps/flaskext/oldext_package/__init__.py rename to tests/test_apps/flaskext/oldext_package/__init__.py diff --git a/flask/testsuite/test_apps/flaskext/oldext_package/submodule.py b/tests/test_apps/flaskext/oldext_package/submodule.py similarity index 100% rename from flask/testsuite/test_apps/flaskext/oldext_package/submodule.py rename to tests/test_apps/flaskext/oldext_package/submodule.py diff --git a/flask/testsuite/test_apps/flaskext/oldext_simple.py b/tests/test_apps/flaskext/oldext_simple.py similarity index 100% rename from flask/testsuite/test_apps/flaskext/oldext_simple.py rename to tests/test_apps/flaskext/oldext_simple.py diff --git a/flask/testsuite/test_apps/importerror.py b/tests/test_apps/importerror.py similarity index 100% rename from flask/testsuite/test_apps/importerror.py rename to tests/test_apps/importerror.py diff --git a/flask/testsuite/test_apps/lib/python2.5/site-packages/site_app.py b/tests/test_apps/lib/python2.5/site-packages/site_app.py similarity index 100% rename from flask/testsuite/test_apps/lib/python2.5/site-packages/site_app.py rename to tests/test_apps/lib/python2.5/site-packages/site_app.py diff --git a/flask/testsuite/test_apps/lib/python2.5/site-packages/site_package/__init__.py b/tests/test_apps/lib/python2.5/site-packages/site_package/__init__.py similarity index 100% rename from flask/testsuite/test_apps/lib/python2.5/site-packages/site_package/__init__.py rename to tests/test_apps/lib/python2.5/site-packages/site_package/__init__.py diff --git a/flask/testsuite/test_apps/main_app.py b/tests/test_apps/main_app.py similarity index 100% rename from flask/testsuite/test_apps/main_app.py rename to tests/test_apps/main_app.py diff --git a/flask/testsuite/test_apps/path/installed_package/__init__.py b/tests/test_apps/path/installed_package/__init__.py similarity index 100% rename from flask/testsuite/test_apps/path/installed_package/__init__.py rename to tests/test_apps/path/installed_package/__init__.py diff --git a/flask/testsuite/test_apps/subdomaintestmodule/__init__.py b/tests/test_apps/subdomaintestmodule/__init__.py similarity index 100% rename from flask/testsuite/test_apps/subdomaintestmodule/__init__.py rename to tests/test_apps/subdomaintestmodule/__init__.py diff --git a/flask/testsuite/test_apps/subdomaintestmodule/static/hello.txt b/tests/test_apps/subdomaintestmodule/static/hello.txt similarity index 100% rename from flask/testsuite/test_apps/subdomaintestmodule/static/hello.txt rename to tests/test_apps/subdomaintestmodule/static/hello.txt diff --git a/flask/testsuite/testing.py b/tests/testing.py similarity index 100% rename from flask/testsuite/testing.py rename to tests/testing.py diff --git a/flask/testsuite/views.py b/tests/views.py similarity index 100% rename from flask/testsuite/views.py rename to tests/views.py