Remove dogpile kwarg test
This test is verifying dogpile behavior[0], not oslo.cache behavior.
Since dogpile has broken this behavior, we are now broken with no
real way to fix it on our end. We should leave dogpile testing to
dogpile and only run unit tests that test our code.
0: The ValueError we are asserting on comes from dogpile.cache:
1b4ab2d3e0/dogpile/cache/util.py (L35)
Change-Id: I5ff1bd473167b84f64312efb659e26230605b480
This commit is contained in:
@@ -315,14 +315,6 @@ class CacheRegionTest(BaseTestCase):
|
||||
self.config_fixture.conf,
|
||||
"bogus")
|
||||
|
||||
def test_function_key_generator_with_kwargs(self):
|
||||
cacheable_function = self._get_cacheable_function()
|
||||
|
||||
self.config_fixture.config(group='cache', enabled=True)
|
||||
self.assertRaises(ValueError,
|
||||
cacheable_function,
|
||||
value=0, foo=self.test_value)
|
||||
|
||||
def test_kwarg_function_key_generator_no_kwargs(self):
|
||||
cacheable_function = self._get_cacheable_function(
|
||||
region=self.region_kwargs)
|
||||
|
||||
Reference in New Issue
Block a user