diff --git a/os_dpm/tests/base.py b/os_dpm/tests/base.py deleted file mode 100644 index 3bb0101..0000000 --- a/os_dpm/tests/base.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright 2016 OpenStack Foundation -# Copyright 2016 IBM Corp. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from oslotest import base - - -class TestCase(base.BaseTestCase): - - """Test case base class for all unit tests.""" diff --git a/os_dpm/tests/test_os_dpm.py b/os_dpm/tests/test_os_dpm.py deleted file mode 100644 index 36f388b..0000000 --- a/os_dpm/tests/test_os_dpm.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- - -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -""" -test_os_dpm ----------------------------------- - -Tests for `os_dpm` module. -""" - -from os_dpm.tests import base - - -class TestNetworking_dpm(base.TestCase): - - def test_something(self): - pass diff --git a/os_dpm/tests/unit/config/test_config.py b/os_dpm/tests/unit/config/test_config.py index a214ef6..bed6759 100644 --- a/os_dpm/tests/unit/config/test_config.py +++ b/os_dpm/tests/unit/config/test_config.py @@ -15,12 +15,12 @@ from oslo_config import cfg from oslo_config.fixture import Config +from oslotest import base from os_dpm.config import config -from os_dpm.tests import base -class TestNetworkingDpm(base.TestCase): +class TestNetworkingDpm(base.BaseTestCase): def test_register_opts(self): conf = Config()