Initial unit tests against our Sanic app

Refs #50

I had to disable the build metadata function to get these tests to work
sensibly. I need to completely rethink how that mechanism works.
This commit is contained in:
Simon Willison 2017-11-11 09:47:59 -08:00
commit 407795b612
3 changed files with 65 additions and 2 deletions

View file

@ -18,5 +18,8 @@ setup(
datasette=datasette.cli:cli
''',
setup_requires=['pytest-runner'],
tests_require=['pytest'],
tests_require=[
'pytest==3.2.3',
'aiohttp==2.3.2',
],
)