File tree Expand file tree Collapse file tree 6 files changed +15
-8
lines changed Expand file tree Collapse file tree 6 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,9 @@ at functional parity.
57
57
Running tests
58
58
-------------
59
59
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::
62
63
63
- $ DROPBOX_TOKEN=YOUR_TOKEN PYTHONPATH=.. ./run_tests.sh
64
+ $ DROPBOX_TOKEN=YOUR_TOKEN tox
64
65
Original file line number Diff line number Diff line change 59
59
# built documents.
60
60
#
61
61
# The short X.Y version.
62
- version = '3.34 '
62
+ version = '3.35 '
63
63
# The full version, including alpha/beta/rc tags.
64
- release = '3.34 '
64
+ release = '3.35 '
65
65
66
66
# The language for content autogenerated by Sphinx. Refer to documentation
67
67
# for a list of supported languages.
Original file line number Diff line number Diff line change 3
3
]
4
4
5
5
# TODO(kelkabany): We need to auto populate this as done in the v1 SDK.
6
- __version__ = '3.34 '
6
+ __version__ = '3.35 '
7
7
8
8
import contextlib
9
9
import json
Original file line number Diff line number Diff line change 31
31
else :
32
32
url_encode = urllib .urlencode
33
33
34
- SDK_VERSION = "3.34 "
34
+ SDK_VERSION = "3.35 "
35
35
36
36
TRUSTED_CERT_FILE = pkg_resources .resource_filename (__name__ , 'trusted-certs.crt' )
37
37
Original file line number Diff line number Diff line change 25
25
26
26
dist = setup (
27
27
name = 'dropbox' ,
28
- version = '3.34 ' ,
28
+ version = '3.35 ' ,
29
29
description = 'Official Dropbox API Client' ,
30
30
author = 'Dropbox' ,
31
31
author_email = 'dev-platform@dropbox.com' ,
Original file line number Diff line number Diff line change
1
+ [tox]
2
+ envlist = py27,py34
3
+ [testenv]
4
+ passenv = DROPBOX_TOKEN
5
+ deps = pytest
6
+ commands = py.test
You can’t perform that action at this time.
0 commit comments