mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
python setup.py test now runs the tests
This commit is contained in:
parent
2c625e31ed
commit
be768f26d0
3 changed files with 6 additions and 1 deletions
3
setup.cfg
Normal file
3
setup.cfg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[aliases]
|
||||||
|
test=pytest
|
||||||
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -15,4 +15,6 @@ setup(
|
||||||
[console_scripts]
|
[console_scripts]
|
||||||
datasite=datasite.cli:cli
|
datasite=datasite.cli:cli
|
||||||
''',
|
''',
|
||||||
|
setup_requires=['pytest-runner'],
|
||||||
|
tests_require=['pytest'],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import app
|
from datasite import app
|
||||||
import pytest
|
import pytest
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import json
|
import json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue