Removed global state modification by api test

This line caused 200 tests to fail in case of running tests with
unittest runner:
tox -e venv "python -m unittest discover -t . ceilometer/tests"

Change-Id: Ib4586e31061de91cc56c0186fe057473616d1776
This commit is contained in:
Alexei Kornienko 2014-02-28 15:19:10 +02:00
parent 2c0bfc7009
commit c8f496694c

View File

@ -16,8 +16,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import mock
import pecan
import wsme
from ceilometer.api.controllers import v2
@ -25,9 +23,6 @@ from ceilometer.openstack.common import test
class TestWsmeCustomType(test.BaseTestCase):
def setUp(self):
super(TestWsmeCustomType, self).setUp()
pecan.response = mock.MagicMock()
def test_advenum_default(self):
class dummybase(wsme.types.Base):