mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-09 18:14:09 +02:00
Moved fixtures to fixtures.py, added .schema test
This commit is contained in:
parent
f5418e13f2
commit
c446e22f34
3 changed files with 29 additions and 25 deletions
|
|
@ -1,12 +1,6 @@
|
|||
from sqlite_utils import Database
|
||||
import json
|
||||
import sqlite3
|
||||
from .fixtures import fresh_db
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def fresh_db():
|
||||
return Database(sqlite3.connect(":memory:"))
|
||||
import json
|
||||
|
||||
|
||||
def test_create_table(fresh_db):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue