

def setUp(self):
    super(TestCommandLineArgument, self).setUp()
    self.make_env(fake_env=FAKE_ENV)
    session_client = mock.patch('magnumclient.common.httpclient.SessionClient')
    session_client.start()
    loader = mock.patch('keystoneauth1.loading.get_plugin_loader')
    loader.start()
    session = mock.patch('keystoneauth1.session.Session')
    session.start()
    self.addCleanup(session_client.stop)
    self.addCleanup(loader.stop)
    self.addCleanup(session.stop)

dataset/ETHPy150Open openstack/python-magnumclient/magnumclient/tests/v1/shell_test_base.py TestCommandLineArgument.setUp/original