Skip to content

Commit 41058ec

Browse files
committed
bump schema versions
1 parent 716a132 commit 41058ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

threedigrid_builder/interface/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# hardcoded source projection
4444
SOURCE_EPSG = 4326
4545

46-
MIN_SQLITE_VERSION = 226
46+
MIN_SQLITE_VERSION = 227
4747

4848
DAY_IN_SECONDS = 24.0 * 3600.0
4949

threedigrid_builder/tests/test_db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_init(tmp_path):
3737
with mock.patch(
3838
"threedigrid_builder.interface.db.ThreediDatabase"
3939
) as db, mock.patch.object(SQLite, "get_version") as get_version:
40-
get_version.return_value = 226
40+
get_version.return_value = 227
4141
sqlite = SQLite(path)
4242

4343
db.assert_called_with(path)
@@ -65,7 +65,7 @@ def test_init_bad_version(tmp_path):
6565

6666

6767
def test_get_version(db):
68-
assert db.get_version() == 226
68+
assert db.get_version() == 227
6969

7070

7171
def test_get_boundary_conditions_1d(db):

0 commit comments

Comments
 (0)