def test_get(self):
        mock = self.mock_http_get(content=ENVIRONMENT)

        env = self.environments.get('env')

        self.assertIsNotNone(env)
        self.assertDictEqual(
            environments.Environment(self.environments, ENVIRONMENT).to_dict(),
            env.to_dict()
        )

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