Skip to content

Commit

Permalink
Merge dd1c300 into 7946cd5
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-preview[bot] committed Aug 31, 2020
2 parents 7946cd5 + dd1c300 commit 977dcd8
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 28 deletions.
78 changes: 52 additions & 26 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -17,7 +17,7 @@ pyshp = "^2.1.0"
[tool.poetry.dev-dependencies]
isort = "^5.4"
flake8 = "^3.8.3"
black = { version = "==19.10b0", allow-prereleases = true }
black = { version = "==20.8b1", allow-prereleases = true }
coveralls = "^2.1.2"

[tool.poetry.scripts]
Expand Down
4 changes: 3 additions & 1 deletion tests/test_geojson_lib.py
Expand Up @@ -111,7 +111,9 @@ def test_success_append_to_table(self):
def test_success_overwrite_table(self):
geojson_to_spatialite(self.tmp.name, "tests/fixtures/geojson/valid.geojson")
geojson_to_spatialite(
self.tmp.name, "tests/fixtures/geojson/valid.geojson", write_mode="replace",
self.tmp.name,
"tests/fixtures/geojson/valid.geojson",
write_mode="replace",
)
records = self.conn.execute("SELECT * FROM valid ORDER BY id;").fetchall()
self.assertEqual(3, len(records))
Expand Down

0 comments on commit 977dcd8

Please sign in to comment.