]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Fix travis check for flakes response_filtering
authorIvan Malison <imalison@uber.com>
Tue, 12 Jan 2016 00:57:10 +0000 (16:57 -0800)
committerIvan Malison <imalison@uber.com>
Tue, 12 Jan 2016 01:00:02 +0000 (17:00 -0800)
.travis.yml
tests/unit/test_vcr.py

index a40d6136c1f3b0883c96053432b9155055e67360..3aedfe5f6a0306d346bdfc516b85161341117848 100644 (file)
@@ -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}"
index 297595d8710a2a9e5c6d1b3fcb5a3b4616bd76a9..decb3665f9b0df117699ea416a9bcb2e9db14b26 100644 (file)
@@ -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