def test_get_api_schema(self):
        """
        Test of 'schema' generator.
        """
        url = reverse('api:get_api_schema')
        res = self.client.get(url)
        self.assertEqual(res.status_code, 200)
        endpoints = json.loads(res.content)

        #the url we just hit should be in here
        self.assertTrue(endpoints in url)
        endpoint = endpoints[url]
        self.assertEqual(endpoint['name'], 'get_api_schema')
        self.assertTrue('description' in endpoint)
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/tests/test_api.py/SchemaGenerationTests.test_get_api_schema/swapped operands of `in`