Skip to content

Commit

Permalink
testsetup --> testcode
Browse files Browse the repository at this point in the history
  • Loading branch information
timmartin19 committed Jun 30, 2015
1 parent f32efc9 commit b902a3d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ setup.cfg

# Performance testing stuff
*.profile

docs/build
26 changes: 13 additions & 13 deletions docs/source/API.rst
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
ripozo-sqlalchemy API
=====================

.. automodule:: ripozo_sqlalchemy.alcehmymanager
:members:
:undoc-members:
:show-inheritance:
.. automodule:: ripozo_sqlalchemy.alchemymanager
:members:
:undoc-members:
:show-inheritance:

.. autoclass:: ripozo_sqlalchemy.session_handlers.ScopedSessionHandler
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

.. autoclass:: ripozo_sqlalchemy.session_handlers.SessionHandler
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

.. automodule:: ripozo_sqlalchemy.easy_resource
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
6 changes: 3 additions & 3 deletions docs/source/examples/basic_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ripozo-sqlalchemy example
import logging
logging.disable(logging.ERROR)

.. testsetup:: basic
.. testcode:: basic

from sqlalchemy import Column, Integer, String, create_engine
from sqlalchemy.ext.declarative import declarative_base
Expand All @@ -31,7 +31,7 @@ ripozo-sqlalchemy example
Creatings your manager
^^^^^^^^^^^^^^^^^^^^^^

.. testsetup:: basic
.. testcode:: basic

from ripozo_sqlalchemy import AlchemyManager, SessionHandler

Expand All @@ -46,7 +46,7 @@ Creatings your manager
And the resource...
^^^^^^^^^^^^^^^^^^^

.. testsetup:: basic
.. testcode:: basic

from ripozo import restmixins

Expand Down

0 comments on commit b902a3d

Please sign in to comment.