Merge pull request #3059 from quay/joseph.schorr/QUAY-906/reg-tests
Move registry integration tests to py.test
This commit is contained in:
commit
6ffafe44d3
20 changed files with 2149 additions and 204 deletions
2
data/cache/impl.py
vendored
2
data/cache/impl.py
vendored
|
@ -40,7 +40,7 @@ class NoopDataModelCache(DataModelCache):
|
|||
class InMemoryDataModelCache(DataModelCache):
|
||||
""" Implementation of the data model cache backed by an in-memory dictionary. """
|
||||
def __init__(self):
|
||||
self.cache = ExpiresDict(rebuilder=lambda: {})
|
||||
self.cache = ExpiresDict()
|
||||
|
||||
def retrieve(self, cache_key, loader, should_cache=is_not_none):
|
||||
not_found = [None]
|
||||
|
|
Reference in a new issue