File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ travis:
17
17
tests : travis
18
18
19
19
test-deps :
20
- pip install -r requirements.txt
20
+ pip install -r dev- requirements.txt
21
21
22
22
htmlcov : .coverage
23
23
coverage html --omit=github3/packages/*
Original file line number Diff line number Diff line change 1
1
requests==1.2.3
2
2
uritemplate.py==0.2.0
3
- git+git://github.com/garybernhardt/expecter.git
3
+ betamax==0.1.0
4
4
coverage==3.5.2
5
5
mock==1.0.1
6
6
pytest==2.3.5
Original file line number Diff line number Diff line change 16
16
"github3.issues" ,
17
17
]
18
18
19
- kwargs ['tests_require' ] = ['mock==1.0.1' , 'expecter ' , 'pytest==2.3.5' ]
19
+ kwargs ['tests_require' ] = ['mock==1.0.1' , 'betamax ' , 'pytest==2.3.5' ]
20
20
if sys .version_info < (3 , 0 ):
21
21
kwargs ['tests_require' ].append ('unittest2==0.5.1' )
22
22
packages .append ('tests' )
39
39
if not __version__ :
40
40
raise RuntimeError ('Cannot find version information' )
41
41
42
+
42
43
class PyTest (TestCommand ):
43
- def finalize_options (self ):
44
- TestCommand .finalize_options (self )
45
- self .test_args = ['-q' , 'tests/' ]
46
- self .test_suite = True
47
- def run_tests (self ):
48
- #import here, cause outside the eggs aren't loaded
49
- import pytest
50
- errno = pytest .main (self .test_args )
51
- sys .exit (errno )
44
+ def finalize_options (self ):
45
+ TestCommand .finalize_options (self )
46
+ self .test_args = ['-q' , 'tests/' ]
47
+ self .test_suite = True
48
+
49
+ def run_tests (self ):
50
+ #import here, cause outside the eggs aren't loaded
51
+ import pytest
52
+ errno = pytest .main (self .test_args )
53
+ sys .exit (errno )
52
54
53
55
setup (
54
56
name = "github3.py" ,
You can’t perform that action at this time.
0 commit comments