def test_app_structure_is_valid_json(self):
        url = '/v1/apps'
        response = self.client.post(url, HTTP_AUTHORIZATION='token {}'.format(self.token))
        self.assertEqual(response.status_code, 201)
        app_id = response.data['id']
        self.assertIn('structure', response.data)
        self.assertEqual(response.data['structure'], {})
        app = App.objects.get(id=app_id)
        app.structure = {'web': 1}
        app.save()
        url = '/v1/apps/{}'.format(app_id)
        response = self.client.get(url, HTTP_AUTHORIZATION='token {}'.format(self.token))
        self.assertIn('structure', response.data)
        self.assertEqual(response.data['structure'], {"web": 1})
Get the name and value for this environment variable
dataset/ETHPy150Open deis/deis/controller/api/tests/test_app.py/AppTest.test_app_structure_is_valid_json--crossover with--dataset/ETHPy150Open realestate-com-au/harpoon/harpoon/option_spec/image_objs.py/Environment.pair