From: Ivan Malison Date: Tue, 12 Jan 2016 00:57:10 +0000 (-0800) Subject: Fix travis check for flakes X-Git-Tag: v1.8.0~8^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=43b3411e6c07d2d0fae9e4524082927179654a36;p=vcrpy.git Fix travis check for flakes --- diff --git a/.travis.yml b/.travis.yml index a40d613..3aedfe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,6 @@ python: - pypy install: - pip install tox-travis -- if [[ $TOX_SUFFIX != flakes ]]; then python setup.py install ; fi +- if [[ $TOX_SUFFIX != 'flakes' ]]; then python setup.py install ; fi script: - tox -e "${TOX_SUFFIX}" diff --git a/tests/unit/test_vcr.py b/tests/unit/test_vcr.py index 297595d..decb366 100644 --- a/tests/unit/test_vcr.py +++ b/tests/unit/test_vcr.py @@ -124,7 +124,7 @@ def test_before_record_response_as_filter(): vcr = VCR(before_record_response=filter_all) with vcr.use_cassette('test') as cassette: cassette.append(request, response) - assert cassette.data == []e + assert cassette.data == [] assert not cassette.dirty