python setup.py test now runs the tests

This commit is contained in:
Simon Willison 2017-11-04 16:40:27 -07:00
commit be768f26d0
3 changed files with 6 additions and 1 deletions

3
setup.cfg Normal file
View file

@ -0,0 +1,3 @@
[aliases]
test=pytest

View file

@ -15,4 +15,6 @@ setup(
[console_scripts]
datasite=datasite.cli:cli
''',
setup_requires=['pytest-runner'],
tests_require=['pytest'],
)

View file

@ -1,4 +1,4 @@
import app
from datasite import app
import pytest
import sqlite3
import json