Make lazydict workaround PY3-compatible

This commit is contained in:
Erik Johnson 2017-12-19 11:12:10 -06:00
parent 2d0e96385f
commit c6f54ecff4
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -49,7 +49,7 @@ class DockerTestCase(TestCase, LoaderModuleMockMixin):
)
# Force the LazyDict to populate its references. Otherwise the lookup
# will fail inside the unit tests.
utils.keys()
list(utils)
return {docker_mod: {'__context__': {'docker.docker_version': ''},
'__utils__': utils}}