From 43b3411e6c07d2d0fae9e4524082927179654a36 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 11 Jan 2016 16:57:10 -0800 Subject: [PATCH] Fix travis check for flakes --- .travis.yml | 2 +- tests/unit/test_vcr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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