- Timestamp:
- 22 Jun 2013, 21:36:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.cas/trunk/waeup/cas/tests/test_db.py
r10344 r10349 38 38 conn = sqlite3.connect(db_path) 39 39 cursor = conn.cursor() 40 result =cursor.execute('''SELECT * FROM mytest''')41 assert list(result) == [('Foo', 'Bar')]40 cursor.execute('''SELECT * FROM mytest''') 41 assert cursor.fetchall() == [('Foo', 'Bar')]
Note: See TracChangeset for help on using the changeset viewer.