)]}'
{"placement/tests/functional/fixtures/placement.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"0408f7d84905e9fa373d4a98b514df52c48dd070","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def setUp(self):"},{"line_number":41,"context_line":"        super(PlacementFixture, self).setUp()"},{"line_number":42,"context_line":"        from placement.objects import resource_provider"},{"line_number":43,"context_line":"        # as this fixture might be used in the same process more than once"},{"line_number":44,"context_line":"        # we have to make sure that it will re-sync the db state each time"},{"line_number":45,"context_line":"        resource_provider._TRAITS_SYNCED \u003d False"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f79a3b5_b65dc0ed","line":42,"updated":"2018-09-12 22:13:18.000000000","message":"Why is this import local?","commit_id":"16f0cc23c182a902da5a745197fabb95439f2c5d"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"be1a4d67dafc6e8dbc09d059ae2b35f3b15c8907","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def setUp(self):"},{"line_number":41,"context_line":"        super(PlacementFixture, self).setUp()"},{"line_number":42,"context_line":"        from placement.objects import resource_provider"},{"line_number":43,"context_line":"        # as this fixture might be used in the same process more than once"},{"line_number":44,"context_line":"        # we have to make sure that it will re-sync the db state each time"},{"line_number":45,"context_line":"        resource_provider._TRAITS_SYNCED \u003d False"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f79a3b5_36f690da","line":42,"in_reply_to":"3f79a3b5_b65dc0ed","updated":"2018-09-12 22:15:22.000000000","message":"oh, so we get a fresh instance to reset the globals below?\n\n...If that\u0027s really a thing, how come we need to reset the globals?\n\nMaybe /me needs a python scoping/importing lesson...","commit_id":"16f0cc23c182a902da5a745197fabb95439f2c5d"}]}
