From eada1ed72f0e1ef44a22910479cc35b3e06a4133 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 16 Oct 2019 10:44:04 -0500 Subject: [PATCH] Change default testing configuration to use existing cassettes --- .travis.yml | 1 - tests/config.py | 2 +- tox.ini | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a76f760..6f5dd04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,6 @@ env: global: - TWITTER_USERNAME="TweepyDev" - AWS_BUCKET="tweepy" - - USE_REPLAY=1 - secure: TPQSFGqdl6khXqQqTZ6euROoAmFRnONAlPXD6npvTIIN+fNfnz8lvZtOEWHo2jRPLoU3FyVUhYvTynj6B2hJinulP+RKOMbQ65HCZVHrsitwl1n1QZB5HegQDOYc5q6VTTYn/r8r5tGy35U0O80y1zycTLqSJiXlkdqsSq564pI= install: diff --git a/tests/config.py b/tests/config.py index f0e487c..0fcea92 100644 --- a/tests/config.py +++ b/tests/config.py @@ -12,7 +12,7 @@ oauth_consumer_key = os.environ.get('CONSUMER_KEY', '') oauth_consumer_secret = os.environ.get('CONSUMER_SECRET', '') oauth_token = os.environ.get('ACCESS_KEY', '') oauth_token_secret = os.environ.get('ACCESS_SECRET', '') -use_replay = os.environ.get('USE_REPLAY', False) +use_replay = os.environ.get('USE_REPLAY', True) tape = vcr.VCR( diff --git a/tox.ini b/tox.ini index d94e46a..ba372da 100644 --- a/tox.ini +++ b/tox.ini @@ -9,5 +9,3 @@ envlist = py27, py35, py36, py37 [testenv] commands = python setup.py nosetests extras = test -setenv = - USE_REPLAY = 1 -- 2.25.1