The current implementation of trove.tests.unittests.api.
common.test_extensions does not fully mock the
test_default_extensions method. As a result trove UTs run without
trove being installed fail in this method as it assumes the
entry points have been installed into the egg for trove.
This patch completes mocking of that method so that the
test_extensions class can be run in a UT environment in
which trove is not installed and thus may not have the entry
points installed to the egg.
Reviewed: https:/ /review. openstack. org/124029 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=9417746a381 0135033453e4b4a 7a7784ca85afb7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9417746a3810135 033453e4b4a7a77 84ca85afb7
Author: Boden R <email address hidden>
Date: Thu Sep 25 08:04:24 2014 -0400
Complete mocking for test_extensions
The current implementation of trove.tests. unittests. api. test_extensions does not fully mock the default_ extensions method. As a result trove UTs run without
common.
test_
trove being installed fail in this method as it assumes the
entry points have been installed into the egg for trove.
This patch completes mocking of that method so that the
test_extensions class can be run in a UT environment in
which trove is not installed and thus may not have the entry
points installed to the egg.
Change-Id: I2543f17fe087cf 98d1a11ef47a07b 4addfd32cd4
Closes-Bug: 1372950