diff --git a/tests/test_texture.py b/tests/test_texture.py index 646585d..4349595 100644 --- a/tests/test_texture.py +++ b/tests/test_texture.py @@ -12,6 +12,10 @@ from gi.repository import Gdk class TestTextureCache(unittest.TestCase): """Test our custom cache dictionary.""" + def setUpClass(): + """Clear the existing cache before testing.""" + emmental.texture.CACHE.clear() + def setUp(self): """Set up common variables.""" cover = tests.util.COVER_JPG.absolute().relative_to("/")