Skip to content

Commit b71ef6d

Browse files
committed
Switched to tox for testing.
1 parent 37c85e4 commit b71ef6d

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ at functional parity.
5757
Running tests
5858
-------------
5959

60-
In the ``test`` folder, run the ``run_tests.sh`` script. You'll need to specify
61-
a working Dropbox OAuth2 token::
60+
We use the `tox <https://tox.readthedocs.org/>`_ package to run tests in Python
61+
2 and 3. To install, use `pip install tox`. Once installed, run `tox` from the
62+
root directory. You'll need to specify a working Dropbox OAuth2 token::
6263

63-
$ DROPBOX_TOKEN=YOUR_TOKEN PYTHONPATH=.. ./run_tests.sh
64+
$ DROPBOX_TOKEN=YOUR_TOKEN tox
6465

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
# built documents.
6060
#
6161
# The short X.Y version.
62-
version = '3.34'
62+
version = '3.35'
6363
# The full version, including alpha/beta/rc tags.
64-
release = '3.34'
64+
release = '3.35'
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

dropbox/dropbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
]
44

55
# TODO(kelkabany): We need to auto populate this as done in the v1 SDK.
6-
__version__ = '3.34'
6+
__version__ = '3.35'
77

88
import contextlib
99
import json

dropbox/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
else:
3232
url_encode = urllib.urlencode
3333

34-
SDK_VERSION = "3.34"
34+
SDK_VERSION = "3.35"
3535

3636
TRUSTED_CERT_FILE = pkg_resources.resource_filename(__name__, 'trusted-certs.crt')
3737

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
dist = setup(
2727
name='dropbox',
28-
version='3.34',
28+
version='3.35',
2929
description='Official Dropbox API Client',
3030
author='Dropbox',
3131
author_email='dev-platform@dropbox.com',

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[tox]
2+
envlist = py27,py34
3+
[testenv]
4+
passenv = DROPBOX_TOKEN
5+
deps = pytest
6+
commands = py.test

0 commit comments

Comments
 (0)