mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Renamed test_tables.db to fixtures.db in unit tests
This commit is contained in:
parent
ed631e690b
commit
0357774c94
6 changed files with 139 additions and 139 deletions
|
|
@ -25,7 +25,7 @@ class TestClient:
|
|||
@pytest.fixture(scope='session')
|
||||
def app_client(sql_time_limit_ms=None, max_returned_rows=None, config=None):
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
filepath = os.path.join(tmpdir, 'test_tables.db')
|
||||
filepath = os.path.join(tmpdir, 'fixtures.db')
|
||||
conn = sqlite3.connect(filepath)
|
||||
conn.executescript(TABLES)
|
||||
os.chdir(os.path.dirname(filepath))
|
||||
|
|
@ -105,7 +105,7 @@ METADATA = {
|
|||
'source': 'Source',
|
||||
'source_url': 'http://www.example.com/source',
|
||||
'databases': {
|
||||
'test_tables': {
|
||||
'fixtures': {
|
||||
'description': 'Test tables description',
|
||||
'tables': {
|
||||
'simple_primary_key': {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue