python setup.py test now runs the tests

pull/81/head
Simon Willison 2017-11-04 16:40:27 -07:00
rodzic 2c625e31ed
commit be768f26d0
3 zmienionych plików z 6 dodań i 1 usunięć

3
setup.cfg 100644
Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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