Changeset 467 for elixir/trunk/tests/test_autosetup.py
- Timestamp:
- 09/24/09 20:45:29 (3 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/tests/test_autosetup.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/tests/test_autosetup.py
r462 r467 9 9 10 10 def setup(): 11 metadata.bind = 'sqlite:// /'11 metadata.bind = 'sqlite://' 12 12 13 13 def teardown(): … … 32 32 assert isinstance(metadata.tables['person'], Table) 33 33 34 # jeeez, this used to lock up hard the program35 34 def test_cleanup_before_setup(self): 36 35 class Person(Entity): … … 52 51 some_field = Field(Boolean, default=False) 53 52 54 metadata.bind = 'sqlite:// /'53 metadata.bind = 'sqlite://' 55 54 56 55 drop_all() … … 68 67 69 68 assert 'person' not in metadata.tables 70 assert Person.table ==None69 assert Person.table is None 71 70 72 71 # check that accessing the table didn't trigger the setup
