Skip to content
Snippets Groups Projects
Commit 98232047 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

in memory sqlite cache

parent 9a45c664
Branches
No related tags found
1 merge request!57Speedup tests
Pipeline #115198 failed
......@@ -75,4 +75,5 @@ class TestCaseWithRequestsCache(TestCase):
class TransactionTestCaseWithRequestsCache(TransactionTestCase):
def setUp(self):
requests_cache.install_cache(os.path.join(settings.PERSISTENT_DIR, "tests_http_cache"), backend="sqlite")
backend = requests_cache.SQLiteCache(use_memory=True)
requests_cache.install_cache(os.path.join(settings.PERSISTENT_DIR, "tests_http_cache"), backend=backend)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment