)]}'
{"openstack_dashboard/test/integration_tests/pages/changepasswordpage.py":[{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"d25c241266fc849d41cdad33ac7712f5e990d291","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"class ChangePasswordPage(basepage.BasePage):"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"        logout_reason \u003d \"Password changed. Please log in again to continue.\""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"        @property"},{"line_number":24,"context_line":"        def changepassword(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_287a3425","line":21,"updated":"2014-06-25 19:36:48.000000000","message":"class constants should be written in capital letters:\nhttp://legacy.python.org/dev/peps/pep-0008/#constants","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"}],"openstack_dashboard/test/integration_tests/pages/loginpage.py":[{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"d25c241266fc849d41cdad33ac7712f5e990d291","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    _login_password_field_locator \u003d (by.By.CSS_SELECTOR, \u0027#id_password\u0027)"},{"line_number":25,"context_line":"    _login_submit_button_locator \u003d (by.By.CSS_SELECTOR,"},{"line_number":26,"context_line":"                                    \u0027div.modal-footer button.btn\u0027)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    _login_message_locator \u003d (by.By.CSS_SELECTOR, \u0027div.modal-body div.error\u0027)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def __init__(self, driver, conf):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_886fc85f","line":27,"updated":"2014-06-25 19:36:48.000000000","message":"is there a reason for the blank line?","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":4978,"name":"Julie Pichon","email":"jpichon@redhat.com","username":"jpichon"},"change_message_id":"07f2fd02bd5f5d353da58f5e360a3efefeb13b40","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    _login_password_field_locator \u003d (by.By.CSS_SELECTOR, \u0027#id_password\u0027)"},{"line_number":25,"context_line":"    _login_submit_button_locator \u003d (by.By.CSS_SELECTOR,"},{"line_number":26,"context_line":"                                    \u0027div.modal-footer button.btn\u0027)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    _login_message_locator \u003d (by.By.CSS_SELECTOR, \u0027div.modal-body div.error\u0027)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def __init__(self, driver, conf):"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_c154d4c7","line":27,"in_reply_to":"1ae5cdf2_886fc85f","updated":"2014-07-28 16:23:33.000000000","message":"The initial set of locators is related to the login form, it made sense to me to separate logically an unrelated locator - but I don\u0027t mind either way so I removed the blank line.","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"d25c241266fc849d41cdad33ac7712f5e990d291","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    _login_submit_button_locator \u003d (by.By.CSS_SELECTOR,"},{"line_number":26,"context_line":"                                    \u0027div.modal-footer button.btn\u0027)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    _login_message_locator \u003d (by.By.CSS_SELECTOR, \u0027div.modal-body div.error\u0027)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def __init__(self, driver, conf):"},{"line_number":31,"context_line":"        super(LoginPage, self).__init__(driver, conf)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_2824f40c","line":28,"updated":"2014-06-25 19:36:48.000000000","message":"was this css locator working for you? (I\u0027m having problems testing it in my env)","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":4978,"name":"Julie Pichon","email":"jpichon@redhat.com","username":"jpichon"},"change_message_id":"07f2fd02bd5f5d353da58f5e360a3efefeb13b40","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    _login_submit_button_locator \u003d (by.By.CSS_SELECTOR,"},{"line_number":26,"context_line":"                                    \u0027div.modal-footer button.btn\u0027)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    _login_message_locator \u003d (by.By.CSS_SELECTOR, \u0027div.modal-body div.error\u0027)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    def __init__(self, driver, conf):"},{"line_number":31,"context_line":"        super(LoginPage, self).__init__(driver, conf)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_616308ab","line":28,"in_reply_to":"1ae5cdf2_2824f40c","updated":"2014-07-28 16:23:33.000000000","message":"Yes, I did run the test before submitting the patch :-) If you have an idea for a more solid locator description I\u0027m all ears though!","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"d25c241266fc849d41cdad33ac7712f5e990d291","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def is_logout_reason_displayed(self, reason):"},{"line_number":57,"context_line":"        message \u003d self.get_element(*self._login_message_locator)"},{"line_number":58,"context_line":"        return reason in message.text"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def login(self, user\u003dNone, password\u003dNone):"},{"line_number":61,"context_line":"        return self.login_with_mouse_click(user, password)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_a8c5640b","line":58,"updated":"2014-06-25 19:36:48.000000000","message":"I\u0027m personally using element.get_attribute(\"value\") to get the text, cause it didn\u0027t work for me (and again I can\u0027t test this patch till I\u0027ll fix my env)","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":4978,"name":"Julie Pichon","email":"jpichon@redhat.com","username":"jpichon"},"change_message_id":"07f2fd02bd5f5d353da58f5e360a3efefeb13b40","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def is_logout_reason_displayed(self, reason):"},{"line_number":57,"context_line":"        message \u003d self.get_element(*self._login_message_locator)"},{"line_number":58,"context_line":"        return reason in message.text"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def login(self, user\u003dNone, password\u003dNone):"},{"line_number":61,"context_line":"        return self.login_with_mouse_click(user, password)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_c17e941a","line":58,"in_reply_to":"1ae5cdf2_a8c5640b","updated":"2014-07-28 16:23:33.000000000","message":"This works fine in my current environment (Fedora 19, Python 2.7.5, selenium 2.42.1). When you\u0027ve fixed up your env, could you report back if you\u0027re seeing issues, including environment information?","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"}],"openstack_dashboard/test/integration_tests/tests/test_password_change.py":[{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"d25c241266fc849d41cdad33ac7712f5e990d291","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"class TestPasswordChange(helpers.TestCase):"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    new_password \u003d \"123\""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"    def test_password_change(self):"},{"line_number":21,"context_line":"        \"\"\"changes the password, verifies it was indeed changed and resets to"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_c8ef1085","line":18,"updated":"2014-06-25 19:36:48.000000000","message":"class constants should be written in capital letters: http://legacy.python.org/dev/peps/pep-0008/#constants\n\nand thanks for this addition, I should have thought about it","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":4978,"name":"Julie Pichon","email":"jpichon@redhat.com","username":"jpichon"},"change_message_id":"07f2fd02bd5f5d353da58f5e360a3efefeb13b40","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"class TestPasswordChange(helpers.TestCase):"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    new_password \u003d \"123\""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"    def test_password_change(self):"},{"line_number":21,"context_line":"        \"\"\"changes the password, verifies it was indeed changed and resets to"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_41c0c42a","line":18,"in_reply_to":"1ae5cdf2_c8ef1085","updated":"2014-07-28 16:23:33.000000000","message":"To me this is a class variable even if it\u0027s somewhat unlikely to change. I see it was made a constant at a file level (which I don\u0027t think is good) on master though -- updated accordingly.","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"d25c241266fc849d41cdad33ac7712f5e990d291","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    def tearDown(self):"},{"line_number":52,"context_line":"        if not self.home_pg.is_logged_in:"},{"line_number":53,"context_line":"            self.login_pg.login(user\u003d\u0027demo\u0027, password\u003dself.new_password)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        # Reset the password"},{"line_number":56,"context_line":"        settings_page \u003d self.home_pg.go_to_settings_page()"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_488220a6","line":53,"updated":"2014-06-25 19:36:48.000000000","message":"I would use self.conf.identity.username","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":4978,"name":"Julie Pichon","email":"jpichon@redhat.com","username":"jpichon"},"change_message_id":"07f2fd02bd5f5d353da58f5e360a3efefeb13b40","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    def tearDown(self):"},{"line_number":52,"context_line":"        if not self.home_pg.is_logged_in:"},{"line_number":53,"context_line":"            self.login_pg.login(user\u003d\u0027demo\u0027, password\u003dself.new_password)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        # Reset the password"},{"line_number":56,"context_line":"        settings_page \u003d self.home_pg.go_to_settings_page()"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_61bb08be","line":53,"in_reply_to":"1ae5cdf2_488220a6","updated":"2014-07-28 16:23:33.000000000","message":"Yup, well spotted!","commit_id":"3d441cf8e3379d19ab339ff1a73498eb4900bd48"},{"author":{"_account_id":11473,"name":"Tomáš Nová?ik","email":"tnovacik@redhat.com","username":"tnovacik"},"change_message_id":"b3023f6c289870535f629243d109b81af1d997b6","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"    def tearDown(self):"},{"line_number":64,"context_line":"        self.login_pg.login()"},{"line_number":65,"context_line":"        self.assertTrue(self.home_pg.is_logged_in,"},{"line_number":66,"context_line":"                        \"Failed to login with default password\")"},{"line_number":67,"context_line":"        super(TestPasswordChange, self).tearDown()"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ac7a964_b8589133","line":65,"updated":"2014-08-15 08:52:19.000000000","message":"Rebase required, this should not be in here anymore :), it should be part of the test.","commit_id":"74446d6ed648e7326d6a657331c28be9efbb01a9"},{"author":{"_account_id":11473,"name":"Tomáš Nová?ik","email":"tnovacik@redhat.com","username":"tnovacik"},"change_message_id":"303eb1bf49a812626613b97b1b54bfef66fa40a8","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            self.assertTrue(self.home_pg.is_logged_in,"},{"line_number":40,"context_line":"                            \"Failed to login with new password\")"},{"line_number":41,"context_line":"        finally:"},{"line_number":42,"context_line":"            self.reset_password()"},{"line_number":43,"context_line":"            self.login_pg.login()"},{"line_number":44,"context_line":"            self.assertTrue(self.home_pg.is_logged_in,"},{"line_number":45,"context_line":"                            \"Failed to login with default password\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"7ac7a964_a1a3ea9c","line":42,"updated":"2014-08-15 16:43:50.000000000","message":"nit: this three lines are going to repeat probably in all passwords tests, would you mind making a method from them?","commit_id":"2727f22d845bdf7319010c9d704a1cbff5dd48f5"},{"author":{"_account_id":11473,"name":"Tomáš Nová?ik","email":"tnovacik@redhat.com","username":"tnovacik"},"change_message_id":"303eb1bf49a812626613b97b1b54bfef66fa40a8","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        \"\"\""},{"line_number":51,"context_line":"        settings_page \u003d self.home_pg.go_to_settings_page()"},{"line_number":52,"context_line":"        passwordchange_page \u003d settings_page.go_to_change_password_page()"},{"line_number":53,"context_line":"        logout_reason \u003d passwordchange_page.LOGOUT_REASON"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        try:"},{"line_number":56,"context_line":"            passwordchange_page.change_password(self.conf.identity.password,"}],"source_content_type":"text/x-python","patch_set":4,"id":"7ac7a964_8648c488","line":53,"updated":"2014-08-15 16:43:50.000000000","message":"this variable is redundant","commit_id":"2727f22d845bdf7319010c9d704a1cbff5dd48f5"},{"author":{"_account_id":11473,"name":"Tomáš Nová?ik","email":"tnovacik@redhat.com","username":"tnovacik"},"change_message_id":"303eb1bf49a812626613b97b1b54bfef66fa40a8","unresolved":false,"context_lines":[{"line_number":56,"context_line":"            passwordchange_page.change_password(self.conf.identity.password,"},{"line_number":57,"context_line":"                                                NEW_PASSWORD)"},{"line_number":58,"context_line":"            self.assertTrue("},{"line_number":59,"context_line":"                self.login_pg.is_logout_reason_displayed(logout_reason),"},{"line_number":60,"context_line":"                \"The logout reason message was not found on the login page\")"},{"line_number":61,"context_line":"        finally:"},{"line_number":62,"context_line":"            self.login_pg.login(user\u003dself.conf.identity.username,"}],"source_content_type":"text/x-python","patch_set":4,"id":"7ac7a964_663c88e3","line":59,"updated":"2014-08-15 16:43:50.000000000","message":"i would do just self.LOGOUT_REASON instead of storing it into variable","commit_id":"2727f22d845bdf7319010c9d704a1cbff5dd48f5"}]}
