Skip to content

Commit 60f3d17

Browse files
committed
coverage update
1 parent e6d95f8 commit 60f3d17

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.coveragerc

-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ omit =
33
*/python?.?/*
44
*/site-packages/nose/*
55
*__init__*
6-
numbers.py
7-
decimal.py

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ sudo: false
1212

1313
install:
1414
- pip install coveralls
15-
- pip install nose
1615

17-
script:
18-
- nosetests --with-coverage --cover-package=deepdiff
16+
script: coverage run --source deepdiff setup.py test
1917

2018
after_success:
2119
- coveralls

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
license='MIT',
2323
packages=['deepdiff'],
2424
zip_safe=False,
25+
test_suite="tests",
2526
long_description=long_description,
2627
classifiers=[
2728
"Intended Audience :: Developers",

tests.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@
33

44
"""
55
To run the test, run this in the root of repo:
6-
python -m unittest discover
6+
python -m unittest discover
7+
8+
Or to run it with coverage:
9+
coverage run --source deepdiff setup.py test
10+
11+
Or using Nose:
12+
nosetests --with-coverage --cover-package=deepdiff
713
814
To run a specific test, run this from the root of repo:
9-
python -m unittest tests.DeepDiffTestCase.test_list_of_sets_difference_ignore_order
15+
python -m unittest tests.DeepDiffTestCase.test_list_of_sets_difference_ignore_order
1016
"""
1117
import unittest
1218
import datetime

0 commit comments

Comments
 (0)