Changeset 461 for elixir/trunk
- Timestamp:
- 09/24/09 16:43:02 (3 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/tests/test_autoload.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/tests/test_autoload.py
r442 r461 19 19 def setup(): 20 20 # First create the tables 21 meta = MetaData('sqlite:// /')21 meta = MetaData('sqlite://') 22 22 23 23 person_table = Table('person', meta, … … 198 198 199 199 def test_nopk(self): 200 metadata.bind = 'sqlite:// /'200 metadata.bind = 'sqlite://' 201 201 202 202 local_meta = MetaData(metadata.bind) … … 209 209 210 210 class A(Entity): 211 using_options(tablename='a', autoload=True)212 211 using_mapper_options(primary_key=['id']) 213 212 … … 225 224 226 225 def test_inheritance(self): 227 metadata.bind = 'sqlite:// /'226 metadata.bind = 'sqlite://' 228 227 229 228 local_meta = MetaData(metadata.bind) … … 235 234 local_meta.create_all() 236 235 237 options_defaults["autoload"] = True238 239 236 class Father(Entity): 240 using_options(tablename='father')237 pass 241 238 242 239 class Son(Father):
