)]}'
{"keystone/tests/unit/base_classes.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"717ded8d72375169fe2224773c66f242694c9c3e","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        PROVIDERS.resource_api.delete_domain(CONF.identity.default_domain_id)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class BootstrapResourceManager(testresources.TestResourceManager):"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self):"},{"line_number":91,"context_line":"        super(BootstrapResourceManager, self).__init__()"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_e29d300a","line":88,"range":{"start_line":88,"start_character":31,"end_line":88,"end_character":64},"updated":"2019-06-12 15:24:20.000000000","message":"This need to be a fixture resource\n\nhttps://github.com/testing-cabal/testresources/blob/master/testresources/__init__.py#L751","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"5e37673f4f4b7e89ebcdaf5db648dd96e0e90084","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        PROVIDERS.resource_api.delete_domain(CONF.identity.default_domain_id)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class BootstrapResourceManager(testresources.TestResourceManager):"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self):"},{"line_number":91,"context_line":"        super(BootstrapResourceManager, self).__init__()"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_ce713378","line":88,"range":{"start_line":88,"start_character":31,"end_line":88,"end_character":64},"in_reply_to":"9fb8cfa7_e29d300a","updated":"2019-06-12 19:17:56.000000000","message":"Done","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"717ded8d72375169fe2224773c66f242694c9c3e","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class BootstrapResourceManager(testresources.TestResourceManager):"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self):"},{"line_number":91,"context_line":"        super(BootstrapResourceManager, self).__init__()"},{"line_number":92,"context_line":"        self.bootstrapper \u003d None"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_45ef661d","line":89,"updated":"2019-06-12 15:24:20.000000000","message":"Have this depend on a db resource.\n\n  resource \u003d [(\u0027database\u0027, DatabaseResourceManager())]","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"717ded8d72375169fe2224773c66f242694c9c3e","unresolved":false,"context_lines":[{"line_number":88,"context_line":"class BootstrapResourceManager(testresources.TestResourceManager):"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self):"},{"line_number":91,"context_line":"        super(BootstrapResourceManager, self).__init__()"},{"line_number":92,"context_line":"        self.bootstrapper \u003d None"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def make(self, dependency_resources):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_c5da7676","line":91,"range":{"start_line":91,"start_character":46,"end_line":91,"end_character":56},"updated":"2019-06-12 15:24:20.000000000","message":"Pass the bootstrap fixture to the super class.","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"5e37673f4f4b7e89ebcdaf5db648dd96e0e90084","unresolved":false,"context_lines":[{"line_number":88,"context_line":"class BootstrapResourceManager(testresources.TestResourceManager):"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self):"},{"line_number":91,"context_line":"        super(BootstrapResourceManager, self).__init__()"},{"line_number":92,"context_line":"        self.bootstrapper \u003d None"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def make(self, dependency_resources):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_6e6cc79b","line":91,"range":{"start_line":91,"start_character":46,"end_line":91,"end_character":56},"in_reply_to":"9fb8cfa7_c5da7676","updated":"2019-06-12 19:17:56.000000000","message":"Done","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"717ded8d72375169fe2224773c66f242694c9c3e","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        self.bootstrapper \u003d None"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def make(self, dependency_resources):"},{"line_number":95,"context_line":"        from pprint import pprint"},{"line_number":96,"context_line":"        pprint(\u0027CREATING A NEW BOOTSTRAPPER\u0027)"},{"line_number":97,"context_line":"        bootstrapper \u003d bootstrap.Bootstrapper()"},{"line_number":98,"context_line":"        bootstrapper.admin_password \u003d \u0027password\u0027"},{"line_number":99,"context_line":"        bootstrapper.admin_username \u003d \u0027admin\u0027"},{"line_number":100,"context_line":"        bootstrapper.project_name \u003d \u0027admin\u0027"},{"line_number":101,"context_line":"        bootstrapper.admin_role_name \u003d \u0027admin\u0027"},{"line_number":102,"context_line":"        bootstrapper.service_name \u003d \u0027keystone\u0027"},{"line_number":103,"context_line":"        bootstrapper.public_url \u003d \u0027http://localhost/identity/\u0027"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        try:"},{"line_number":106,"context_line":"            PROVIDERS.resource_api.create_domain("}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_827a34b7","line":103,"range":{"start_line":95,"start_character":0,"end_line":103,"end_character":62},"updated":"2019-06-12 15:24:20.000000000","message":"This needs to be using a bootstrap fixture, which will live in ksfixtures.","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"5e37673f4f4b7e89ebcdaf5db648dd96e0e90084","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        self.bootstrapper \u003d None"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def make(self, dependency_resources):"},{"line_number":95,"context_line":"        from pprint import pprint"},{"line_number":96,"context_line":"        pprint(\u0027CREATING A NEW BOOTSTRAPPER\u0027)"},{"line_number":97,"context_line":"        bootstrapper \u003d bootstrap.Bootstrapper()"},{"line_number":98,"context_line":"        bootstrapper.admin_password \u003d \u0027password\u0027"},{"line_number":99,"context_line":"        bootstrapper.admin_username \u003d \u0027admin\u0027"},{"line_number":100,"context_line":"        bootstrapper.project_name \u003d \u0027admin\u0027"},{"line_number":101,"context_line":"        bootstrapper.admin_role_name \u003d \u0027admin\u0027"},{"line_number":102,"context_line":"        bootstrapper.service_name \u003d \u0027keystone\u0027"},{"line_number":103,"context_line":"        bootstrapper.public_url \u003d \u0027http://localhost/identity/\u0027"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        try:"},{"line_number":106,"context_line":"            PROVIDERS.resource_api.create_domain("}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_2e080fd8","line":103,"range":{"start_line":95,"start_character":0,"end_line":103,"end_character":62},"in_reply_to":"9fb8cfa7_827a34b7","updated":"2019-06-12 19:17:56.000000000","message":"Done","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"717ded8d72375169fe2224773c66f242694c9c3e","unresolved":false,"context_lines":[{"line_number":113,"context_line":"        self.bootstrapper \u003d bootstrapper"},{"line_number":114,"context_line":"        return self.bootstrapper"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    def _clean_default_domain(self):"},{"line_number":117,"context_line":"        PROVIDERS.resource_api.update_domain("},{"line_number":118,"context_line":"            CONF.identity.default_domain_id, {\u0027enabled\u0027: False}"},{"line_number":119,"context_line":"        )"},{"line_number":120,"context_line":"        PROVIDERS.resource_api.delete_domain(CONF.identity.default_domain_id)"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def clean(self, resource):"},{"line_number":123,"context_line":"        PROVIDERS.resource_api.update_domain("},{"line_number":124,"context_line":"            CONF.identity.default_domain_id, {\u0027enabled\u0027: False}"},{"line_number":125,"context_line":"        )"},{"line_number":126,"context_line":"        PROVIDERS.resource_api.delete_domain(CONF.identity.default_domain_id)"},{"line_number":127,"context_line":"        PROVIDERS._clear_registry_instances()"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"class TestCase(testresources.ResourcedTestCase, core.BaseTestCase):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_65b70a3c","line":127,"range":{"start_line":116,"start_character":0,"end_line":127,"end_character":45},"updated":"2019-06-12 15:24:20.000000000","message":"These might need to be removed once we clean up the fixture resource bit on line 88.","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"5e37673f4f4b7e89ebcdaf5db648dd96e0e90084","unresolved":false,"context_lines":[{"line_number":113,"context_line":"        self.bootstrapper \u003d bootstrapper"},{"line_number":114,"context_line":"        return self.bootstrapper"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    def _clean_default_domain(self):"},{"line_number":117,"context_line":"        PROVIDERS.resource_api.update_domain("},{"line_number":118,"context_line":"            CONF.identity.default_domain_id, {\u0027enabled\u0027: False}"},{"line_number":119,"context_line":"        )"},{"line_number":120,"context_line":"        PROVIDERS.resource_api.delete_domain(CONF.identity.default_domain_id)"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def clean(self, resource):"},{"line_number":123,"context_line":"        PROVIDERS.resource_api.update_domain("},{"line_number":124,"context_line":"            CONF.identity.default_domain_id, {\u0027enabled\u0027: False}"},{"line_number":125,"context_line":"        )"},{"line_number":126,"context_line":"        PROVIDERS.resource_api.delete_domain(CONF.identity.default_domain_id)"},{"line_number":127,"context_line":"        PROVIDERS._clear_registry_instances()"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"class TestCase(testresources.ResourcedTestCase, core.BaseTestCase):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_4e0b03d5","line":127,"range":{"start_line":116,"start_character":0,"end_line":127,"end_character":45},"in_reply_to":"9fb8cfa7_65b70a3c","updated":"2019-06-12 19:17:56.000000000","message":"Done","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"717ded8d72375169fe2224773c66f242694c9c3e","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"class TestCase(testresources.ResourcedTestCase, core.BaseTestCase):"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    resources \u003d [(\u0027bootstrapper\u0027, BootstrapResourceManager())]"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"    def setUp(self):"},{"line_number":135,"context_line":"        self.useFixture(database.Database())"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_45c2065b","line":132,"updated":"2019-06-12 15:24:20.000000000","message":"We might need to include the database resource manager. Investigate this.","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"}],"keystone/tests/unit/ksfixtures/bootstrap.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a5bde693975a0912ed15c4e408bcda2d78476e66","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"        provider_api.ProviderAPIs._clear_registry_instances()"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        bootstrapper \u003d bootstrap.Bootstrapper()"},{"line_number":36,"context_line":"        bootstrapper.admin_password \u003d \u0027password\u0027"},{"line_number":37,"context_line":"        bootstrapper.admin_username \u003d \u0027admin\u0027"},{"line_number":38,"context_line":"        bootstrapper.project_name \u003d \u0027admin\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fb8cfa7_ab44ec47","line":35,"range":{"start_line":35,"start_character":8,"end_line":35,"end_character":47},"updated":"2019-06-12 20:45:07.000000000","message":"This is going to be interesting because this is going to attempt to load all of keystone\u0027s subsystems. When this happens, the configuration object needs to point to the right key repository for fernet tokens and fernet receipts. If that directory doesn\u0027t exist, keystone fails to start.\n\nIn summary, we need the config_fixture object set up as well as the key repository fixtures *before* we can call this.\n\nThe tricky part with that is the KeyRepository fixture currently requires the config_fixture to be passed in. I\u0027m not sure how we can do that if we specify everything in `resources` to denote the dependency.\n\nhttps://pasted.tech/pastes/c0322fd6e75196d2cdd15513a4c33bf1d6202e8b.raw","commit_id":"f312aad1ce7d4879012cf9563c22c50edbc0409e"}],"keystone/tests/unit/protection/v3/test_policies.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"717ded8d72375169fe2224773c66f242694c9c3e","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"CONF \u003d keystone.conf.CONF"},{"line_number":25,"context_line":"PROVIDERS \u003d provider_api.ProviderAPIs"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"class SystemReaderTests("},{"line_number":29,"context_line":"        base_classes.TestCase,"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_c2ceec58","line":26,"updated":"2019-06-12 15:24:20.000000000","message":"We need:\n\n  load_tests \u003d base_classes.optimize_module_test_loader()\n\nhttps://github.com/openstack/oslo.db/blob/master/oslo_db/sqlalchemy/test_fixtures.py#L603-L608","commit_id":"4572aef6273bd8565427fcabca3811591e6fab95"}]}
