cinder/cinder/tests/unit/image
Patrick East 7246988316 Fix image cache db query when limits are enabled
We were missing the context parameter... and apparently
never tested with cache limits enabled. This fixes
it and updates the unit tests to check for it too.

I'll follow up with a devstack patch to set some
limits by default too so we cover more of this
code and have it behave like a production deployment
in gate jobs.

Change-Id: Ia6d43b35843682bd201e57bb2941ca0243606412
Closes-Bug: #1701696
(cherry picked from commit 70719d028a)
2017-07-06 15:09:33 +00:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake.py Check if volume node has enough space for image operations 2017-01-26 12:33:35 +02:00
test_cache.py Fix image cache db query when limits are enabled 2017-07-06 15:09:33 +00:00
test_glance.py Merge "Simplify calls to mock_object" 2017-01-10 18:20:47 +00:00