)]}'
{"whitebox_tempest_plugin/api/compute/test_validate_selinux_labels.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a7f21786d8c33d18220d4cccb380ae85f5387547","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        root \u003d self.get_server_xml(server[\u0027id\u0027])"},{"line_number":42,"context_line":"        for seclabel in root.findall(\u0027seclabel\u0027):"},{"line_number":43,"context_line":"            if (seclabel.get(\u0027model\u0027) \u003d\u003d \u0027selinux\u0027):"},{"line_number":44,"context_line":"                self.assertIn(\"system_u:system_r:svirt_t:s0\","},{"line_number":45,"context_line":"                              seclabel.find(\u0027label\u0027).text)"},{"line_number":46,"context_line":"                self.assertIn(\"system_u:object_r:svirt_image_t:s0\","},{"line_number":47,"context_line":"                              seclabel.find(\u0027imagelabel\u0027).text)"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def test_create_server_with_label_check(self):"},{"line_number":50,"context_line":"        server \u003d self.create_test_server(wait_until\u003d\"ACTIVE\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_bf77a03b","line":47,"range":{"start_line":44,"start_character":13,"end_line":47,"end_character":63},"updated":"2020-08-18 16:57:32.000000000","message":"im not sure we want to assert the exact labels used.\n\nwe could but i dont really want to have to update this if they change in the future.\n\ncan we make this more generic or replace the bool config option with a list of lables to assert so we can drive this via config instead.","commit_id":"666e79ee2329d907fd38fb2040d1fdce36589443"}]}
