From f1a049b7a43d2c4e77d4493f50e1a9c345d84a16 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Thu, 4 Oct 2018 12:45:03 +0200 Subject: [PATCH] Use the datasette-connectors module for monkey patching datasette --- setup.py | 4 ++-- tests/fixtures.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.5