Merge "Removed global state modification by api test"
This commit is contained in:
commit
cae5b179e5
@ -16,8 +16,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import mock
|
|
||||||
import pecan
|
|
||||||
import wsme
|
import wsme
|
||||||
|
|
||||||
from ceilometer.api.controllers import v2
|
from ceilometer.api.controllers import v2
|
||||||
@ -25,9 +23,6 @@ from ceilometer.openstack.common import test
|
|||||||
|
|
||||||
|
|
||||||
class TestWsmeCustomType(test.BaseTestCase):
|
class TestWsmeCustomType(test.BaseTestCase):
|
||||||
def setUp(self):
|
|
||||||
super(TestWsmeCustomType, self).setUp()
|
|
||||||
pecan.response = mock.MagicMock()
|
|
||||||
|
|
||||||
def test_advenum_default(self):
|
def test_advenum_default(self):
|
||||||
class dummybase(wsme.types.Base):
|
class dummybase(wsme.types.Base):
|
||||||
|
Loading…
Reference in New Issue
Block a user