def test_delete(self):
        mock = self.mock_http_delete(status_code=204)

        self.environments.delete('env')

        mock.assert_called_once_with(URL_TEMPLATE_NAME % 'env')
dataset/ETHPy150Open openstack/python-mistralclient/mistralclient/tests/unit/v2/test_environments.py/TestEnvironmentsV2.test_delete/original