Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: duckdb/dbt-duckdb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 90346540067df9b4969a98228bae4dca32a6504f
Choose a base ref
..
head repository: duckdb/dbt-duckdb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0160f79afd1e671d6ead8058a6bd78afdb599965
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/functional/plugins/test_sqlite.py
6 changes: 3 additions & 3 deletions tests/functional/plugins/test_sqlite.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import os
import json
import pandas
import pytest
import sqlite3
from pathlib import Path
from dbt.tests.util import (
check_relations_equal,
run_dbt,
run_dbt,
)

model_sql = """
@@ -19,7 +19,7 @@ class TestSQLitePlugin:
@pytest.fixture(scope="class")
def sqlite_test_db(self):
path = '/tmp/satest.db'
os.unlink(path)
Path(path).unlink(missing_ok=True)
db = sqlite3.connect(path)
cursor = db.cursor()
cursor.execute("CREATE TABLE tt1 (id int, name text)")