diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2022-04-06 17:41:42 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2022-04-06 18:19:37 -0500 |
commit | 1d9cb18fe5d346db08a4acf6ac530eb6772e643a (patch) | |
tree | 10bcb5fac3e1eea0e19e56659018b49a83931926 /tests/integration | |
parent | 47ef59ecc423c5673172b908c315c82c344a2857 (diff) | |
download | requests-cache-1d9cb18fe5d346db08a4acf6ac530eb6772e643a.tar.gz |
Update tests, changelog, and contributors
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/test_sqlite.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/integration/test_sqlite.py b/tests/integration/test_sqlite.py index 391d46b..252b9da 100644 --- a/tests/integration/test_sqlite.py +++ b/tests/integration/test_sqlite.py @@ -108,9 +108,11 @@ class SQLiteTestCase(BaseStorageTest): assert 2 not in cache assert cache._can_commit is True - def test_fast_save(self): - cache_1 = self.init_cache(1, fast_save=True) - cache_2 = self.init_cache(2, fast_save=True) + @pytest.mark.parametrize('kwargs', [{'fast_save': True}, {'wal': True}]) + def test_pragma(self, kwargs): + """Test settings that make additional PRAGMA statements""" + cache_1 = self.init_cache(1, **kwargs) + cache_2 = self.init_cache(2, **kwargs) n = 1000 for i in range(n): |