bogdan barna
24df79b75f
boto3 integration tests
2016-06-27 01:39:49 +02:00
bogdan barna
5c9b0b4ccb
fix tests in stubs, requests ssl verification and httpbin+flask
2016-06-24 11:43:01 +03:00
Kevin McCarthy
528c9e7b1a
Merge pull request #149 from kevin1024/pytest-httpbin
...
WIP: add pytest-httpbin
2016-05-01 14:19:54 -10:00
Kevin McCarthy
4e36997e1a
Use pytest-httpbin
...
This will help the test flakiness and speed up test runs.
2016-05-01 13:50:04 -10:00
John Vandenberg
d060a68ffd
Add Python 3.5 and PyPy 3 to Travis
2016-05-01 07:54:59 +07:00
Abhinav Gupta
d780bc04dd
Fix Tornado support behavior for Tornado 3.
...
Resolves #235 .
2015-12-19 18:18:20 -08:00
John Vandenberg
573c6eee0b
Use tox-travis
...
dc9cd42 introduced Travis checking of flakes using tox.
However tox.ini only defined 'flakes-py34', so Travis
was only invoking flake8 on Python 3.4, and invoking
py.test on other Python versions.
As tox factors only work properly on the default testenv,
use a generic tox environment 'flakes', and use tox-travis
to select the correct basepython.
2015-12-13 04:22:51 +11:00
John Vandenberg
dc9cd4229b
Fix pyflakes and pep8 errors
...
Use extra asserts to use previously unused variables in tests,
such as `cass` and `response`.
Fix only pyflakes errors in docs/conf.py
2015-11-26 08:25:06 +11:00
Abhinav Gupta
c37d607b97
Don't install pycurl if pypy is being used.
...
Pycurl doesn't yet support pypy.
2015-07-02 17:14:00 -07:00
Abhinav Gupta
7922fec9fe
Tornado support
2015-07-02 14:33:34 -07:00
Ivan Malison
4f07cb5257
Fix tox.ini requests26: requests==2.6.0
2015-06-09 00:53:28 -07:00
Kevin McCarthy
dc8eedf555
we dont actually need lxml for tests
2015-05-05 21:59:31 -10:00
Kevin McCarthy
856c38479a
add failing test for requests2.7/gzip issue
2015-05-05 20:49:12 -10:00
Kevin McCarthy
52496cd091
really add requests 2.7 to tox
2015-05-05 19:50:20 -10:00
Kevin McCarthy
bc26ce877a
add requests 2.7 to tox and travis
2015-05-05 19:44:19 -10:00
Ivan Malison
7cd7264034
fix tox/urllib3 stuff.
2015-03-24 14:10:14 -07:00
aisch
63ec95be06
update urllib3 patch/stub to be same as used for requests and add tests
2015-03-23 12:12:49 -07:00
Chase Sterling
ef8ba6d51b
Add requests 2.5 to testing list in .travis.yml and tox.ini
2014-12-08 14:40:55 -05:00
Ivan Malison
7193407a07
Remove ipdb because it causes python below 2.6 to blow up.
2014-10-03 01:40:02 -07:00
Ivan Malison
3a46a6f210
travis through tox.
2014-10-02 15:26:22 -07:00
Ivan Malison
163181844b
Refactor tox.ini using new 1.8 features.
2014-10-02 14:57:53 -07:00
Ivan Malison
0871c3b87c
Remove instance variables for filter_headers, filter_query_params, ignore_localhost and ignore_hosts. These still exist on the VCR object, but they are automatically translated into a filter function when passed to the cassette.
2014-09-22 17:57:22 -07:00
Ivan Malison
b6e96020c1
Use {[testenv]deps}, instead of repeating testing requirements. Write another failing test for #109
2014-09-19 14:31:49 -07:00
Kevin McCarthy
cd715f37c6
Fix requests stub. Closes #94
2014-09-01 15:48:57 -10:00
Kevin McCarthy
70abc5058c
requests 2.3 compat
2014-05-17 12:58:31 -10:00
Kevin McCarthy
3990b32892
New Feature: Ignore Some Requests
...
Add 2 new options, ignore_localhost and ignore_hosts, which can ignore
requests so they aren't recorded in a cassette.
Closes #74
2014-05-03 15:25:31 -10:00
Kevin McCarthy
2a072e4dd3
fix tox envlist
2014-04-25 18:55:43 -10:00
Kevin McCarthy
e002aab999
let's keep testing python3.3, at least for the time being.
2014-04-23 19:36:31 -10:00
Kevin McCarthy
bd2d2cea72
bump supported python3 version to 3.4
2014-04-23 18:58:17 -10:00
Kevin McCarthy
56a9a53522
add more tox envs
2014-03-08 20:58:41 -10:00
Åsmund Grammeltvedt
a73da71159
Add Python 2.3 support
...
This commit also adds the 'six' dependency
2014-03-08 20:01:48 -10:00
Kevin McCarthy
d16b20a780
restore tox envs
2014-03-08 19:35:31 -10:00
Roberto Abdelkader Martínez Pérez
46a2c25f6a
httplib2 support
2014-03-08 19:35:30 -10:00
Marc Abramowitz
c44fee1f16
tox.ini: Add {posargs} for passing args to py.test
...
This allows you to do stuff like:
tox -e py26requests,py27requests,pypyrequests -- tests/integration/test_requests.py
2014-02-04 00:25:13 -08:00
Kevin McCarthy
d33b19b5bb
Fix Requests 2, Version Bump to 0.3.5
...
This fixes a compatiblity issue with the new version of requests.
Bumps the release version to 0.3.5, and closes #39 .
2013-10-24 21:57:18 -10:00
Kevin McCarthy
70c7e040fb
update tox to reflect new text directory structure
2013-08-11 15:05:40 -10:00
Kevin McCarthy
c90778274e
reorganize tests, start using pytest
2013-02-21 22:15:57 -10:00
Kevin McCarthy
41da9ddbab
Add Support for Requests Library
...
Added support and tests for the Requests library. At least basic
support seems to be working. The tests should run fine if you
don't have requests installed; it just won't verify the requests-
specific tests.
2012-09-16 12:29:45 -10:00
Kevin McCarthy
5e05587ea0
test requests GET / POST with VCR
2012-09-03 15:13:04 -10:00
Marc Abramowitz
d54b15dcae
Add tox.ini for tox ( http://tox.testrun.org/ )
2012-07-01 11:06:32 -07:00