From: Javier Sancho Date: Thu, 4 Oct 2018 10:45:03 +0000 (+0200) Subject: Use the datasette-connectors module for monkey patching datasette X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=f1a049b7a43d2c4e77d4493f50e1a9c345d84a16;p=datasette-pytables.git Use the datasette-connectors module for monkey patching datasette --- diff --git a/setup.py b/setup.py index 037d96b..0e9f1f9 100644 --- a/setup.py +++ b/setup.py @@ -28,10 +28,10 @@ setup( ], }, install_requires=[ - 'datasette-core', + 'datasette-connectors', 'tables', 'moz-sql-parser==1.3.18033', 'mo-future==1.6.18072' ], - tests_require=['pytest'] + tests_require=['pytest', 'aiohttp'] ) diff --git a/tests/fixtures.py b/tests/fixtures.py index 417eb63..6093bda 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -1,3 +1,6 @@ +from datasette_connectors import monkey; monkey.patch_datasette() +from datasette_connectors import connectors; connectors.load() + from datasette.app import Datasette import numpy as np import os