summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/installation.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-06 22:57:34 -0600
committerMichael Merickel <michael@merickel.org>2020-01-06 22:57:34 -0600
commita4b0781604fd217341cc43eec47a95c725860ced (patch)
tree47dbf81eea8b184431bf48b72b1eb06ecb2b7128 /docs/tutorials/wiki2/installation.rst
parentef5b4019633b8ca383df75bdf517932ee23f304e (diff)
downloadpyramid-a4b0781604fd217341cc43eec47a95c725860ced.tar.gz
pyramid-a4b0781604fd217341cc43eec47a95c725860ced.tar.bz2
pyramid-a4b0781604fd217341cc43eec47a95c725860ced.zip
sync basiclayout, installation, models with new structure
Diffstat (limited to 'docs/tutorials/wiki2/installation.rst')
-rw-r--r--docs/tutorials/wiki2/installation.rst53
1 files changed, 28 insertions, 25 deletions
diff --git a/docs/tutorials/wiki2/installation.rst b/docs/tutorials/wiki2/installation.rst
index 55fca15a1..b144fc4e0 100644
--- a/docs/tutorials/wiki2/installation.rst
+++ b/docs/tutorials/wiki2/installation.rst
@@ -182,8 +182,8 @@ The console will show ``pip`` checking for packages and installing missing packa
alembic-1.3.2 attrs-19.3.0 beautifulsoup4-4.8.2 coverage-5.0.1 \
hupper-1.9.1 importlib-metadata-1.3.0 more-itertools-8.0.2 packaging-19.2 \
plaster-1.0 plaster-pastedeploy-0.7 pluggy-0.13.1 py-1.8.1 \
- pyparsing-2.4.6 pyramid-1.10.4 pyramid-debugtoolbar-4.5.1 \
- pyramid-jinja2-2.8 pyramid-mako-1.1.0 pyramid-retry-2.1 pyramid-tm-2.3 \
+ pyparsing-2.4.6 pyramid-1.10.4 pyramid-debugtoolbar-4.5.2 \
+ pyramid-jinja2-2.8 pyramid-mako-1.1.0 pyramid-retry-2.1 pyramid-tm-2.4 \
pytest-5.3.2 pytest-cov-2.8.1 python-dateutil-2.8.1 python-editor-1.0.4 \
repoze.lru-0.7 six-1.13.0 soupsieve-1.9.5 transaction-3.0.0 \
translationstring-1.3 tutorial venusian-3.0.0 waitress-1.4.1 \
@@ -350,30 +350,33 @@ If successful, you will see output something like this:
======================== test session starts ========================
platform -- Python 3.7.3, pytest-5.3.2, py-1.8.1, pluggy-0.13.1
- rootdir: <somepath>/tutorial, inifile: pytest.ini, testpaths: tutorial
+ rootdir: <somepath>/tutorial, inifile: pytest.ini, testpaths: tutorial, tests
plugins: cov-2.8.1
- collected 2 items
-
- tutorial/tests.py ..
-
- ------------------ coverage: platform Python 3.7.3 ------------------
- Name Stmts Miss Cover Missing
- -----------------------------------------------------------------
- tutorial/__init__.py 8 6 25% 7-12
- tutorial/models/__init__.py 24 0 100%
- tutorial/models/meta.py 5 0 100%
- tutorial/models/mymodel.py 8 0 100%
- tutorial/pshell.py 7 7 0% 1-13
- tutorial/routes.py 3 3 0% 1-3
- tutorial/scripts/__init__.py 0 0 100%
- tutorial/scripts/initialize_db.py 22 22 0% 1-38
- tutorial/views/__init__.py 0 0 100%
- tutorial/views/default.py 12 0 100%
- tutorial/views/notfound.py 4 4 0% 1-7
- -----------------------------------------------------------------
- TOTAL 93 42 55%
-
- ===================== 2 passed in 0.64 seconds ======================
+ collected 5 items
+
+ tests/test_functional.py ..
+ tests/test_views.py ...
+
+ ---------- coverage: platform darwin, python 3.7.4-final-0 -----------
+ Name Stmts Miss Cover Missing
+ ----------------------------------------------------------------------------------
+ tutorial/__init__.py 8 0 100%
+ tutorial/alembic/env.py 23 4 83% 28-30, 56
+ tutorial/alembic/versions/20200106_8c274fe5f3c4.py 12 2 83% 31-32
+ tutorial/models/__init__.py 32 2 94% 71, 82
+ tutorial/models/meta.py 5 0 100%
+ tutorial/models/mymodel.py 8 0 100%
+ tutorial/pshell.py 7 5 29% 5-13
+ tutorial/routes.py 3 0 100%
+ tutorial/scripts/__init__.py 0 0 100%
+ tutorial/scripts/initialize_db.py 22 14 36% 15-16, 20-25, 29-38
+ tutorial/views/__init__.py 0 0 100%
+ tutorial/views/default.py 12 0 100%
+ tutorial/views/notfound.py 4 0 100%
+ ----------------------------------------------------------------------------------
+ TOTAL 136 27 80%
+
+ ===================== 5 passed in 0.77 seconds ======================
Our package doesn't quite have 100% test coverage.