File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,15 @@ install:
14
14
- pip install aioredis
15
15
- pip install cryptography
16
16
- pip install pynacl
17
+ - pip install pytest
17
18
- pip install pytest-aiohttp
19
+ - pip install pytest-cov
18
20
- python setup.py develop
19
21
20
22
script :
21
23
- pyflakes aiohttp_session tests
22
24
- pep8 aiohttp_session tests
23
- - coverage run --source=aiohttp_session setup.py test
25
+ - make cov
24
26
- python setup.py check -rm
25
27
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
26
28
python setup.py check -s;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ vtest: flake develop
11
11
py.test ./tests/
12
12
13
13
cov cover coverage : flake
14
- py.test --cov aiohttp_session --cov-report-type html ./tests/
14
+ py.test --cov aiohttp_session --cov-report html ./tests/
15
15
@echo " open file://` pwd` /coverage/index.html"
16
16
17
17
clean :
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ def read(f):
16
16
return open (os .path .join (os .path .dirname (__file__ ), f )).read ().strip ()
17
17
18
18
install_requires = ['aiohttp>=0.22.5' ]
19
- tests_require = install_requires + ['nose' ]
20
19
extras_require = {
21
20
'aioredis' : ['aioredis>=0.1.4' ],
22
21
'pycrypto' : ['cryptography' ],
@@ -43,7 +42,5 @@ def read(f):
43
42
license = 'Apache 2' ,
44
43
packages = ['aiohttp_session' ],
45
44
install_requires = install_requires ,
46
- tests_require = tests_require ,
47
- test_suite = 'nose.collector' ,
48
45
include_package_data = True ,
49
46
extras_require = extras_require )
You can’t perform that action at this time.
0 commit comments