File tree 4 files changed +10
-7
lines changed
4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 3
3
*/python?.?/*
4
4
*/site-packages/nose/*
5
5
*__init__*
6
- numbers.py
7
- decimal.py
Original file line number Diff line number Diff line change @@ -12,10 +12,8 @@ sudo: false
12
12
13
13
install :
14
14
- pip install coveralls
15
- - pip install nose
16
15
17
- script :
18
- - nosetests --with-coverage --cover-package=deepdiff
16
+ script : coverage run --source deepdiff setup.py test
19
17
20
18
after_success :
21
19
- coveralls
Original file line number Diff line number Diff line change 22
22
license = 'MIT' ,
23
23
packages = ['deepdiff' ],
24
24
zip_safe = False ,
25
+ test_suite = "tests" ,
25
26
long_description = long_description ,
26
27
classifiers = [
27
28
"Intended Audience :: Developers" ,
Original file line number Diff line number Diff line change 3
3
4
4
"""
5
5
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
7
13
8
14
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
10
16
"""
11
17
import unittest
12
18
import datetime
You can’t perform that action at this time.
0 commit comments