Skip to content

Commit

Permalink
Important bugfix. Running tests with requests_cache enabled is not a …
Browse files Browse the repository at this point in the history
…sensible thing to do.
  • Loading branch information
biomadeira committed Sep 20, 2017
1 parent 0895727 commit 44485c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 44485c5

Please sign in to comment.