diff --git a/src/postorius/tests/utils.py b/src/postorius/tests/utils.py index d6ce617..4c29d27 100644 --- a/src/postorius/tests/utils.py +++ b/src/postorius/tests/utils.py @@ -35,13 +35,7 @@ FIXTURES_DIR = os.path.join(os.path.abspath( os.path.dirname(__file__)), 'fixtures', 'vcr_cassettes') -VCR_RECORD_MODE = os.environ.get('POSTORIUS_VCR_RECORD_MODE', - getattr(settings, 'VCR_RECORD_MODE', 'once')) - -MM_VCR = get_vcr( - cassette_library_dir=FIXTURES_DIR, - record_mode=VCR_RECORD_MODE, - ) +MM_VCR = get_vcr(cassette_library_dir=FIXTURES_DIR) def create_mock_domain(properties=None): diff --git a/testing/test_settings.py b/testing/test_settings.py index a5e8329..d425374 100755 --- a/testing/test_settings.py +++ b/testing/test_settings.py @@ -153,8 +153,3 @@ 'django.contrib.auth.backends.ModelBackend', 'django_browserid.auth.BrowserIDBackend', ) - - -# Set VCR_RECORD_MODE to 'all' to re-record all API responses. -# (Remember to use an empty mailman database!) -VCR_RECORD_MODE = 'once'