diff options
| author | Steve Piercy <web@stevepiercy.com> | 2020-01-13 02:13:25 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2020-01-13 02:13:25 -0800 |
| commit | 57e7a4a3571bb6ea1bfd767c2c50674ede944ca6 (patch) | |
| tree | d4bfc1d243f9eae3b9b8ae6c44873086d88fd322 /docs/tutorials | |
| parent | 6ca6370c751dd7a629f7057a79941764c71d4aeb (diff) | |
| download | pyramid-57e7a4a3571bb6ea1bfd767c2c50674ede944ca6.tar.gz pyramid-57e7a4a3571bb6ea1bfd767c2c50674ede944ca6.tar.bz2 pyramid-57e7a4a3571bb6ea1bfd767c2c50674ede944ca6.zip | |
from webob.cookies import Cookie already existed; restore deleted comment
Diffstat (limited to 'docs/tutorials')
| -rw-r--r-- | docs/tutorials/wiki2/src/tests/tests/conftest.py | 1 | ||||
| -rw-r--r-- | docs/tutorials/wiki2/tests.rst | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/src/tests/tests/conftest.py b/docs/tutorials/wiki2/src/tests/tests/conftest.py index 094bc06f1..1c8fb16d0 100644 --- a/docs/tutorials/wiki2/src/tests/tests/conftest.py +++ b/docs/tutorials/wiki2/src/tests/tests/conftest.py @@ -39,6 +39,7 @@ def dbengine(app_settings, ini_file): # depending on how we want to initialize the database from scratch # we could alternatively call: # Base.metadata.create_all(bind=engine) + # alembic.command.stamp(alembic_cfg, "head") alembic.command.upgrade(alembic_cfg, "head") yield engine diff --git a/docs/tutorials/wiki2/tests.rst b/docs/tutorials/wiki2/tests.rst index 8a3e79363..cea07eeca 100644 --- a/docs/tutorials/wiki2/tests.rst +++ b/docs/tutorials/wiki2/tests.rst @@ -88,7 +88,7 @@ Update ``tests/conftest.py`` to look like the following, adding the highlighted .. literalinclude:: src/tests/tests/conftest.py :linenos: - :emphasize-lines: 10,68-103,110,117-119 + :emphasize-lines: 68-103,110,117-119 :language: python |
