Skip to content

Commit 1c1b3ce

Browse files
Fix travis test runner for django-mailbox.
1 parent 276917c commit 1c1b3ce

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ install:
4141
- pip install -r test_requirements.txt
4242
- pip install -q -e .
4343
script:
44-
- python setup.py test
44+
- py.test
4545
sudo: false

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@
2222
),
2323
author='Adam Coddington',
2424
author_email='[email protected]',
25-
tests_require=tests_require,
2625
extras_require={
27-
'test': tests_require,
2826
'gmail-oauth2': gmail_oauth2_require
2927
},
30-
test_suite='django_mailbox.runtests.runtests',
3128
classifiers=[
3229
'Framework :: Django',
3330
'Intended Audience :: Developers',

test_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pytest==2.9.1
22
pytest-django==2.9.1
3+
mock==2.0.0

0 commit comments

Comments
 (0)