Skip to content

Commit c4264a2

Browse files
committed
TST: Made s3 related tests mock boto
Kept a couple around for testing things like accessing a private bucket as that's hard to mock.
1 parent 64c8a8d commit c4264a2

22 files changed

+210
-154
lines changed

appveyor.yml

+5
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ install:
8080
- cmd: conda list -n pandas
8181
- cmd: echo "installing requirements from %REQ% - done"
8282

83+
# add some pip only reqs to the env
84+
- SET REQ=ci\requirements-%PYTHON_VERSION%_WIN.pip
85+
- cmd: echo "installing requirements from %REQ%"
86+
- cmd: pip install -Ur %REQ%
87+
8388
# build em using the local source checkout in the correct windows env
8489
- cmd: '%CMD_IN_ENV% python setup.py build_ext --inplace'
8590

ci/requirements-2.7.pip

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ py
88
PyCrypto
99
mock
1010
ipython
11+
moto

ci/requirements-2.7_BUILD_TEST.pip

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pandas_gbq
55
pandas_datareader
66
statsmodels
77
scikit-learn
8+
moto

ci/requirements-2.7_COMPAT.pip

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ html5lib==1.0b2
22
beautifulsoup4==4.2.0
33
openpyxl
44
argparse
5+
moto

ci/requirements-2.7_LOCALE.pip

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
html5lib==1.0b2
22
beautifulsoup4==4.2.1
33
blosc
4+
moto

ci/requirements-2.7_SLOW.pip

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moto

ci/requirements-2.7_WIN.pip

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moto

ci/requirements-2.7_WIN.run

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ bottleneck
1616
html5lib
1717
beautiful-soup
1818
jinja2=2.8
19+
boto3

ci/requirements-3.5.pip

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
xarray==0.9.1
22
pandas-gbq
3+
moto

ci/requirements-3.5_OSX.pip

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
python-dateutil==2.5.3
2+
moto

ci/requirements-3.6.pip

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
brotlipy
2+
moto

ci/requirements-3.6_LOCALE.pip

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moto

ci/requirements-3.6_LOCALE_SLOW.pip

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moto

ci/requirements-3.6_NUMPY_DEV.pip

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moto

ci/requirements-3.6_WIN.pip

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
moto

ci/requirements-3.6_WIN.run

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ matplotlib
1515
blosc
1616
fastparquet
1717
pyarrow
18+
boto3

ci/requirements_dev.txt

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ cython
55
pytest>=3.1.0
66
pytest-cov
77
flake8
8+
moto
1.29 KB
Binary file not shown.
1.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)