)]}'
{"cinder/tests/unit/test_db_api.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"9f81ce864c0881b1f9485daec69e667196ba23e6","unresolved":false,"context_lines":[{"line_number":3500,"context_line":"        # DB API query to get the volume attachment."},{"line_number":3501,"context_line":"        volume \u003d db.volume_create(self.ctxt, {\u0027host\u0027: \u0027host1\u0027})"},{"line_number":3502,"context_line":""},{"line_number":3503,"context_line":"        # Now create two volume attachments with specs and migrate them"},{"line_number":3504,"context_line":"        # one at a time to show we are enforcing the limit."},{"line_number":3505,"context_line":"        for x in range(2):"},{"line_number":3506,"context_line":"            attachment \u003d objects.VolumeAttachment("},{"line_number":3507,"context_line":"                self.ctxt, attach_status\u003d\u0027attaching\u0027, volume_id\u003dvolume[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_3bb28d95","line":3504,"range":{"start_line":3503,"start_character":8,"end_line":3504,"end_character":59},"updated":"2017-12-19 21:35:44.000000000","message":"Maybe this would be better if we create 3 attachments, migrate 2 in one call, and the other in the last call. Then we know we\u0027re looping properly in the migration routine.","commit_id":"5cedfd6984ee20482a7abb75c0e1067fc7e78df3"}]}
