mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-09 18:14:09 +02:00
Refactored tests into new test_rows.py, refs #76
This commit is contained in:
parent
ad6ac19470
commit
fc38868bd4
3 changed files with 29 additions and 27 deletions
|
|
@ -62,12 +62,6 @@ def test_columns(existing_db):
|
|||
]
|
||||
|
||||
|
||||
def test_rows(existing_db):
|
||||
assert [{"text": "one"}, {"text": "two"}, {"text": "three"}] == list(
|
||||
existing_db["foo"].rows
|
||||
)
|
||||
|
||||
|
||||
def test_schema(existing_db):
|
||||
assert "CREATE TABLE foo (text TEXT)" == existing_db["foo"].schema
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue