chore: use shillelagh instead of gsheetsdb (#13185)

* chore: use shillelagh instead of gsheetsdb

* Fix tests

* Clean up code and remove duplication

* Fix test

* Tighten dep
This commit is contained in:
Beto Dealmeida
2021-02-18 09:48:18 -08:00
committed by GitHub
parent 3c58fc5ef5
commit 3d23adec5e
12 changed files with 70 additions and 43 deletions

View File

@@ -545,7 +545,7 @@ class TestCore(SupersetTestCase):
self.assertEqual(400, response.status_code)
response_body = json.loads(response.data.decode("utf-8"))
expected_body = {
"error": "SQLite database cannot be used as a data source for security reasons."
"error": "SQLiteDialect_pysqlite cannot be used as a data source for security reasons."
}
self.assertEqual(expected_body, response_body)