Changeset 485 for elixir/trunk
- Timestamp:
- 10/01/09 16:28:12 (3 years ago)
- Location:
- elixir/trunk
- Files:
-
- 7 modified
-
examples/videostore/setup.py (modified) (5 diffs)
-
tests/test_associable.py (modified) (2 diffs)
-
tests/test_autosetup.py (modified) (1 diff)
-
tests/test_dict.py (modified) (1 diff)
-
tests/test_m2m.py (modified) (1 diff)
-
tests/test_o2m.py (modified) (1 diff)
-
tests/test_versioning.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/examples/videostore/setup.py
r11 r485 8 8 name="videostore", 9 9 version=version, 10 10 11 11 # uncomment the following lines if you fill them out in release.py 12 12 #description=description, … … 16 16 #download_url=download_url, 17 17 #license=license, 18 18 19 19 install_requires = [ 20 20 "TurboGears >= 1.0", 21 "SQLAlchemy", 21 "SQLAlchemy", 22 22 ], 23 23 scripts = ["start-videostore.py"], … … 29 29 # Use keywords if you'll be adding your package to the 30 30 # Python Cheeseshop 31 31 32 32 # if this has widgets, uncomment the next line 33 33 # 'turbogears.widgets', 34 34 35 35 # if this has a tg-admin command, uncomment the next line 36 36 # 'turbogears.command', 37 37 38 38 # if this has identity providers, uncomment the next line 39 39 # 'turbogears.identity.provider', 40 40 41 41 # If this is a template plugin, uncomment the next line 42 42 # 'python.templating.engines', 43 43 44 44 # If this is a full application, uncomment the next line 45 45 # 'turbogears.app', … … 54 54 # the Cheeseshop, uncomment the next line 55 55 # 'Framework :: TurboGears :: Applications', 56 56 57 57 # if this is a package that includes widgets that you'll distribute 58 58 # through the Cheeseshop, uncomment the next line … … 61 61 test_suite = 'nose.collector', 62 62 ) 63 63 -
elixir/trunk/tests/test_associable.py
r467 r485 3 3 """ 4 4 5 from sqlalchemy import create_engine,and_5 from sqlalchemy import and_ 6 6 7 7 from elixir import * … … 10 10 11 11 def setup(): 12 # metadata.bind = create_engine('sqlite://', echo=True)13 12 metadata.bind = 'sqlite://' 14 13 -
elixir/trunk/tests/test_autosetup.py
r467 r485 4 4 5 5 from sqlalchemy import Table 6 from sqlalchemy.orm import create_session7 6 from elixir import * 8 7 import elixir -
elixir/trunk/tests/test_dict.py
r467 r485 3 3 """ 4 4 5 import sqlalchemy as sa6 5 from elixir import * 7 6 -
elixir/trunk/tests/test_m2m.py
r481 r485 496 496 497 497 def test_manual_table_manual_joins(self): 498 from sqlalchemy import Table, Column, ForeignKey, \ 499 ForeignKeyConstraint, and_ 498 from sqlalchemy import Table, Column, and_ 500 499 501 500 a_b = Table('a_b', metadata, -
elixir/trunk/tests/test_o2m.py
r467 r485 4 4 5 5 from elixir import * 6 from sqlalchemy import and_ , ForeignKey6 from sqlalchemy import and_ 7 7 from sqlalchemy.ext.orderinglist import ordering_list 8 8 -
elixir/trunk/tests/test_versioning.py
r467 r485 1 1 from elixir import * 2 2 from elixir.ext.versioned import acts_as_versioned 3 from datetime import datetime , timedelta3 from datetime import datetime 4 4 5 5 import time
