)]}'
{"openstack_dashboard/test/integration_tests/pages/admin/system/defaultspage.py":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"e22bb63d4c53d32a9cb050c7e806a1ef8980342a","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def quota_values(self):"},{"line_number":78,"context_line":"        quota_dict \u003d {}"},{"line_number":79,"context_line":"        for row in self.default_quotas_table.rows:"},{"line_number":80,"context_line":"            if row.cells[self.QUOTAS_TABLE_LIMIT_COLUMN].text in \\"},{"line_number":81,"context_line":"                    self.DEFAULT_QUOTA_NAMES:"},{"line_number":82,"context_line":"                quota_dict[row.cells[self.QUOTAS_TABLE_NAME_COLUMN].text] \u003d\\"},{"line_number":83,"context_line":"                    int(row.cells[self.QUOTAS_TABLE_LIMIT_COLUMN].text)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_4c5e5513","line":80,"updated":"2016-05-03 05:33:34.000000000","message":"The above should be QUOTAS_TABLE_NAME_COLUMN, as the current code causes the test to actually test nothing, since quota_dict will be empty :-)\n\nIt can be a good idea to validate some assumptions in tests like this, especially if you\u0027re working with data taken from a page that you assume is there, but may not actually be. i.e. in this case, a test for \"did we actually extract anything from the page?\"","commit_id":"fdf76693143d1be525f3c9f1fc3138920c69d6d6"},{"author":{"_account_id":20509,"name":"Daniel Castellanos","email":"luis.daniel.castellanos@intel.com","username":"lcastell"},"change_message_id":"a6b853917f83bd79d8e0e8b3e99587f0ca4b4ced","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def quota_values(self):"},{"line_number":78,"context_line":"        quota_dict \u003d {}"},{"line_number":79,"context_line":"        for row in self.default_quotas_table.rows:"},{"line_number":80,"context_line":"            if row.cells[self.QUOTAS_TABLE_LIMIT_COLUMN].text in \\"},{"line_number":81,"context_line":"                    self.DEFAULT_QUOTA_NAMES:"},{"line_number":82,"context_line":"                quota_dict[row.cells[self.QUOTAS_TABLE_NAME_COLUMN].text] \u003d\\"},{"line_number":83,"context_line":"                    int(row.cells[self.QUOTAS_TABLE_LIMIT_COLUMN].text)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_015d36ec","line":80,"in_reply_to":"1a122d0e_4c5e5513","updated":"2016-05-03 15:26:37.000000000","message":"Done. Thanks for the feedback! :-)","commit_id":"fdf76693143d1be525f3c9f1fc3138920c69d6d6"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"ac0c1acba8d1612b88fe2b53c80a49a6608ef411","unresolved":false,"context_lines":[{"line_number":18,"context_line":"class DefaultQuotasTable(tables.TableRegion):"},{"line_number":19,"context_line":"    name \u003d \"quotas\""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    UPDATE_DEFAULTS_FORM_FIELDS \u003d ("},{"line_number":22,"context_line":"        \"injected_file_content_bytes\","},{"line_number":23,"context_line":"        \"metadata_items\","},{"line_number":24,"context_line":"        \"ram\","}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_32909aec","line":21,"updated":"2016-05-24 15:50:51.000000000","message":"I\u0027d like these values to come from a config because hardcoding default quotas into tests would require editing source files in case tests are run in an environment where, for example, Nova quotas are disabled.\n\nOn the other hand, the related patch for Nova quotas in Horizon (https://review.openstack.org/#/c/215277/) is not merged yet, and nowhere in integration tests we treat cinder service as the thing that is possibly disabled (hence all its quotas). So I\u0027m fine with leaving it as is for now.","commit_id":"27938b174d1d94fc22e50c9ea14b9c29c7e889b7"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"ac0c1acba8d1612b88fe2b53c80a49a6608ef411","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        return forms.FormRegion("},{"line_number":39,"context_line":"            self.driver,"},{"line_number":40,"context_line":"            self.conf,"},{"line_number":41,"context_line":"            None,"},{"line_number":42,"context_line":"            field_mappings\u003dself.UPDATE_DEFAULTS_FORM_FIELDS"},{"line_number":43,"context_line":"        )"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_12547652","line":41,"updated":"2016-05-24 15:50:51.000000000","message":"hint: this arg could be omitted, it\u0027s not positional/required","commit_id":"27938b174d1d94fc22e50c9ea14b9c29c7e889b7"}]}
