def test_get_api_endpoints_utils(self):
        """
        Test of function that traverses all urls looking for api endpoints.
        """
        res = get_api_endpoints()
        for url, fn in res.items():
            self.assertTrue(fn.is_api_endpoint)
            self.assertTrue(url.startswith('/'))
            self.assertTrue(url.endswith('/'),
                            "Endpoint %s doesn't end with / as expected" % url)
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/tests/test_api.py/SchemaGenerationTests.test_get_api_endpoints_utils/original