Do not require oslotest for testing

oslotest itself depends on debtcollector and debtcollector depends
on oslotest. That's a cycle dependency which makes bootstrapping the whole
module chain more difficult.
Instead of using oslotest, just use the standard unittest.TestCase class
as base to break the dependency cycle.

Change-Id: Idcbe727883fe2742d62d463bb9a195592aeaba09
This commit is contained in:
Thomas Bechtold 2017-05-22 11:24:11 +02:00
parent fba977ec77
commit da416d64e2
2 changed files with 2 additions and 3 deletions

View File

@ -15,9 +15,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslotest import base
import unittest
class TestCase(base.BaseTestCase):
class TestCase(unittest.TestCase):
"""Test case base class for all unit tests."""

View File

@ -8,7 +8,6 @@ coverage!=4.4,>=4.0 # Apache-2.0
python-subunit>=0.0.18 # Apache-2.0/BSD
sphinx!=1.6.1,>=1.5.1 # BSD
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
fixtures>=3.0.0 # Apache-2.0/BSD