From 44485c5251f5ec118cba78188794a9fce0f81446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fa=CC=81bio=20Madeira?= Date: Wed, 20 Sep 2017 15:27:56 +0100 Subject: [PATCH] Important bugfix. Running tests with requests_cache enabled is not a sensible thing to do. --- tests/test_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_utils.py b/tests/test_utils.py index aa32564..a9fefe6 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -11,6 +11,7 @@ import datetime import numpy as np import pandas as pd +import requests_cache from io import StringIO from datetime import datetime from contextlib import contextmanager @@ -102,6 +103,7 @@ class TestUTILS(unittest.TestCase): def setUp(self): """Initialize the framework for testing.""" + requests_cache.uninstall_cache() self.flash = flash self.string_split = string_split self.fetch_from_url_or_retry = fetch_from_url_or_retry