Changeset 371:cd638410a583
- Timestamp:
- 08/26/08 08:21:58 (3 months ago)
- Author:
- Christos Trochalakis <yatiohi@…>
- Branch:
- default
- Message:
-
Fix broken tests caused by db sessions.
We needed to create the database before we do the tests for sessions to work.
- Location:
- transifex/tests/controllers
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r345
|
r371
|
|
| 15 | 15 | |
| 16 | 16 | def setUp(self): |
| | 17 | bind_metadata() |
| | 18 | metadata.create_all() |
| 17 | 19 | turbogears.startup.startTurboGears() |
| 18 | 20 | |
| 19 | 21 | def tearDown(self): |
| | 22 | metadata.drop_all() |
| 20 | 23 | turbogears.startup.stopTurboGears() |
| 21 | 24 | |
-
|
r345
|
r371
|
|
| 13 | 13 | |
| 14 | 14 | def setUp(self): |
| | 15 | bind_metadata() |
| | 16 | metadata.create_all() |
| 15 | 17 | turbogears.startup.startTurboGears() |
| 16 | 18 | |
| 17 | 19 | def tearDown(self): |
| | 20 | metadata.drop_all() |
| 18 | 21 | turbogears.startup.stopTurboGears() |
| 19 | 22 | |